nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 45 lines 869 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 alsa-lib, 6 fftw, 7 fftwFloat, 8 flex, 9 libjack2, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "brutefir"; 14 version = "1.0o"; 15 16 src = fetchurl { 17 url = "https://torger.se/anders/files/brutefir-${version}.tar.gz"; 18 sha256 = "caae4a933b53b55b29d6cb7e2803e20819f31def6d0e4e12f9a48351e6dbbe9f"; 19 }; 20 21 nativeBuildInputs = [ flex ]; 22 23 buildInputs = [ 24 alsa-lib 25 fftw 26 fftwFloat 27 libjack2 28 ]; 29 30 postPatch = "substituteInPlace bfconf.c --replace /usr/local $out"; 31 32 installFlags = [ "INSTALL_PREFIX=$(out)" ]; 33 34 meta = with lib; { 35 homepage = "https://torger.se/anders/brutefir.html"; 36 description = "Software convolution engine"; 37 license = licenses.gpl2Only; 38 maintainers = with maintainers; [ auchter ]; 39 platforms = [ 40 "x86_64-linux" 41 "i686-linux" 42 ]; 43 mainProgram = "brutefir"; 44 }; 45}