nur-packages

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

default.nix (699B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   cmake,
      6 }:
      7 
      8 stdenv.mkDerivation (finalAttrs: {
      9   pname = "gqrx-scanner";
     10   version = "1.0.5";
     11 
     12   src = fetchFromGitHub {
     13     owner = "neural75";
     14     repo = "gqrx-scanner";
     15     rev = "v${finalAttrs.version}";
     16     hash = "sha256-/MQksngCPr71p+D6qnbK2i/BsrSslGbWqti60rGPjGs=";
     17   };
     18 
     19   nativeBuildInputs = [ cmake ];
     20 
     21   env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-DOSX";
     22 
     23   meta = {
     24     description = "A frequency scanner for Gqrx Software Defined Radio receiver";
     25     homepage = "https://github.com/neural75/gqrx-scanner";
     26     license = lib.licenses.mit;
     27     maintainers = [ lib.maintainers.sikmir ];
     28     platforms = lib.platforms.unix;
     29   };
     30 })