nur-packages

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

default.nix (866B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6   pkg-config,
      7   fftwFloat,
      8   glib,
      9   libacars,
     10   libconfig,
     11   liquid-dsp,
     12   soapysdr,
     13   sqlite,
     14   zeromq,
     15 }:
     16 
     17 stdenv.mkDerivation (finalAttrs: {
     18   pname = "dumphfdl";
     19   version = "1.6.1";
     20 
     21   src = fetchFromGitHub {
     22     owner = "szpajder";
     23     repo = "dumphfdl";
     24     rev = "v${finalAttrs.version}";
     25     hash = "sha256-M4WjcGA15Kp+Hpp+I2Ndcx+oBqaGxEeQLTPcSlugLwQ=";
     26   };
     27 
     28   nativeBuildInputs = [
     29     cmake
     30     pkg-config
     31   ];
     32 
     33   buildInputs = [
     34     fftwFloat
     35     glib
     36     libacars
     37     libconfig
     38     liquid-dsp
     39     soapysdr
     40     sqlite
     41     zeromq
     42   ];
     43 
     44   meta = {
     45     description = "Multichannel HFDL decoder";
     46     homepage = "https://github.com/szpajder/dumphfdl";
     47     license = lib.licenses.gpl3Plus;
     48     maintainers = [ lib.maintainers.sikmir ];
     49     platforms = lib.platforms.unix;
     50     broken = stdenv.isDarwin;
     51   };
     52 })