nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (682B)


      1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
      2 , fftwFloat, libsndfile, volk
      3 }:
      4 
      5 stdenv.mkDerivation rec {
      6   pname = "sigutils";
      7   version = "2022-07-05";
      8 
      9   src = fetchFromGitHub {
     10     owner = "BatchDrake";
     11     repo = "sigutils";
     12     rev = "1d7559d427aadd253dd825eef26bf15e54860c5f";
     13     hash = "sha256-wvd6sixwGmR9R4x+swLVqXre4Dqnj10jZIXUfaJcmBw=";
     14   };
     15 
     16   nativeBuildInputs = [ cmake pkg-config ];
     17 
     18   buildInputs = [ fftwFloat libsndfile volk ];
     19 
     20   meta = with lib; {
     21     description = "Small signal processing utility library";
     22     inherit (src.meta) homepage;
     23     license = licenses.gpl3Plus;
     24     maintainers = [ maintainers.sikmir ];
     25     platforms = platforms.unix;
     26   };
     27 }