nur-packages

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

default.nix (735B)


      1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
      2 , fftwFloat, libsndfile, libxml2, sigutils, soapysdr, volk
      3 }:
      4 
      5 stdenv.mkDerivation rec {
      6   pname = "suscan";
      7   version = "2022-07-05";
      8 
      9   src = fetchFromGitHub {
     10     owner = "BatchDrake";
     11     repo = "suscan";
     12     rev = "37dad542b97aff24654f0bb80fb8e85af7cb84ab";
     13     hash = "sha256-h1ogtYjkqiHb1/NAJfJ0HQIvGnZM2K/PSP5nqLXUf9M=";
     14   };
     15 
     16   nativeBuildInputs = [ cmake pkg-config ];
     17 
     18   buildInputs = [ fftwFloat libsndfile libxml2 sigutils soapysdr volk ];
     19 
     20   meta = with lib; {
     21     description = "Channel scanner based on sigutils library";
     22     inherit (src.meta) homepage;
     23     license = licenses.gpl3Plus;
     24     maintainers = [ maintainers.sikmir ];
     25     platforms = platforms.unix;
     26   };
     27 }