From 234797a1421c94aea89bbfe95418b1827c2e49b8 Mon Sep 17 00:00:00 2001 From: Matt Whiteley Date: Wed, 1 Nov 2023 03:28:55 +0000 Subject: [PATCH] use meson to build and install --- pkgs/by-name/si/simde/package.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/si/simde/package.nix b/pkgs/by-name/si/simde/package.nix index 686fed8182a9..85ec1ac5f5b1 100644 --- a/pkgs/by-name/si/simde/package.nix +++ b/pkgs/by-name/si/simde/package.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub }: +{ stdenv, lib, fetchFromGitHub, meson, ninja }: stdenv.mkDerivation rec { pname = "simde"; @@ -11,16 +11,7 @@ stdenv.mkDerivation rec { hash = "sha256-pj+zaD5o9XYkTavezcQFzM6ao0IdQP1zjP9L4vcCyEY="; }; - installPhase = '' - runHook preInstall - - mkdir -p $out/include - cp -a ${pname} $out/include - - install -Dt $out/share/doc/${pname} README.md - - runHook postInstall - ''; + nativeBuildInputs = [ meson ninja ]; meta = with lib; { homepage = "https://simd-everywhere.github.io";