nur-packages

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

default.nix (803B)


      1 {
      2   stdenv,
      3   lib,
      4   fetchsvn,
      5   cmake,
      6   nasm,
      7   libX11,
      8 }:
      9 
     10 stdenv.mkDerivation {
     11   pname = "linrad";
     12   version = "2024-04-26";
     13 
     14   src = fetchsvn {
     15     url = "https://svn.code.sf.net/p/linrad/code/trunk";
     16     rev = "1027";
     17     sha256 = "sha256-zOGpLX5OTSFhbme6hENN+Z1gwcxkHoeDDDg6LZQvcM0=";
     18   };
     19 
     20   nativeBuildInputs = [
     21     cmake
     22     nasm
     23   ];
     24 
     25   buildInputs = [ libX11 ];
     26 
     27   env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";
     28 
     29   installPhase = ''
     30     install -Dm755 clinrad -t $out/bin
     31   '';
     32 
     33   meta = {
     34     description = "Software defined radio receiver for x11";
     35     homepage = "http://www.sm5bsz.com/linuxdsp/linrad.htm";
     36     license = lib.licenses.mit;
     37     platforms = lib.platforms.linux;
     38     maintainers = [ lib.maintainers.sikmir ];
     39     skip.ci = stdenv.isDarwin;
     40     broken = true;
     41   };
     42 }