about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2023-06-09 20:18:46 +0300
committerGitHub <noreply@github.com>2023-06-09 20:18:46 +0300
commitba0f52d80375147840b83f1511599fbe333be3ad (patch)
tree947b433cfbcd90f3c1ad32f20da6804a96f4b216 /pkgs/applications
parent1fa02b8ec3c459d490825d171d147f2b33885a93 (diff)
parent7af30ade700b87cdc6f75754faeb00f3c44a1bca (diff)
Merge pull request #179038 from auchter/auchter/brutefir
brutefir: init at 1.0o
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/audio/brutefir/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/audio/brutefir/default.nix b/pkgs/applications/audio/brutefir/default.nix
new file mode 100644
index 0000000000000..2aefa8bae08e1
--- /dev/null
+++ b/pkgs/applications/audio/brutefir/default.nix
@@ -0,0 +1,32 @@
+{ lib, stdenv, fetchurl, alsa-lib, fftw, fftwFloat, flex, libjack2 }:
+
+stdenv.mkDerivation rec {
+  pname = "brutefir";
+  version = "1.0o";
+
+  src = fetchurl {
+    url = "https://torger.se/anders/files/brutefir-${version}.tar.gz";
+    sha256 = "caae4a933b53b55b29d6cb7e2803e20819f31def6d0e4e12f9a48351e6dbbe9f";
+  };
+
+  nativeBuildInputs = [ flex ];
+
+  buildInputs = [
+    alsa-lib
+    fftw
+    fftwFloat
+    libjack2
+  ];
+
+  postPatch = "substituteInPlace bfconf.c --replace /usr/local $out";
+
+  installFlags = [ "INSTALL_PREFIX=$(out)" ];
+
+  meta = with lib; {
+    homepage = "https://torger.se/anders/brutefir.html";
+    description = "A software convolution engine";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ auchter ];
+    platforms = [ "x86_64-linux" "i686-linux" ];
+  };
+}