Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, stdenv, fetchFromGitHub, autoreconfHook, cctools, autoSignDarwinBinariesHook, fixDarwinDylibNames,}:
stdenv.mkDerivation rec { pname = "liquid-dsp"; version = "1.6.0";
src = fetchFromGitHub { owner = "jgaeddert"; repo = "liquid-dsp"; rev = "v${version}"; sha256 = "sha256-3UKAwhYaYZ42+d+wiW/AB6x5TSOel8d++d3HeZqAg/8="; };
configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "LIBTOOL=${cctools}/bin/libtool" ] ++ [ # Prevent native cpu arch from leaking into binaries. This might lead to # poor performance, but having portable and working executables is more # important. (lib.enableFeature true "simdoverride") ];
nativeBuildInputs = [ autoreconfHook ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools autoSignDarwinBinariesHook fixDarwinDylibNames ];
meta = { homepage = "https://liquidsdr.org/"; description = "Digital signal processing library for software-defined radios"; license = lib.licenses.mit; platforms = lib.platforms.unix; };}