package.nix (832B)
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 __structuredAttrs = true; 15 16 src = fetchsvn { 17 url = "https://svn.code.sf.net/p/linrad/code/trunk"; 18 rev = "1027"; 19 sha256 = "sha256-zOGpLX5OTSFhbme6hENN+Z1gwcxkHoeDDDg6LZQvcM0="; 20 }; 21 22 nativeBuildInputs = [ 23 cmake 24 nasm 25 ]; 26 27 buildInputs = [ libX11 ]; 28 29 env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result"; 30 31 installPhase = '' 32 install -Dm755 clinrad -t $out/bin 33 ''; 34 35 meta = { 36 description = "Software defined radio receiver for x11"; 37 homepage = "http://www.sm5bsz.com/linuxdsp/linrad.htm"; 38 license = lib.licenses.mit; 39 platforms = lib.platforms.linux; 40 maintainers = [ lib.maintainers.sikmir ]; 41 skip.ci = stdenv.isDarwin; 42 broken = true; 43 }; 44 }
