From 75475505259189afe82c6fd41740d1f9d6122a4b Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Sun, 23 May 2021 21:43:09 +0200 Subject: [PATCH] quadrafuzz: init at 0.1.1 --- .../applications/audio/quadrafuzz/default.nix | 43 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/applications/audio/quadrafuzz/default.nix diff --git a/pkgs/applications/audio/quadrafuzz/default.nix b/pkgs/applications/audio/quadrafuzz/default.nix new file mode 100644 index 000000000000..1432c0b81011 --- /dev/null +++ b/pkgs/applications/audio/quadrafuzz/default.nix @@ -0,0 +1,43 @@ +{ stdenv, lib, fetchFromGitHub, boost, cairo, lv2, pkg-config }: + +stdenv.mkDerivation rec { + pname = "quadrafuzz"; + version = "0.1.1"; + + src = fetchFromGitHub { + owner = "jpcima"; + repo = pname; + rev = "v${version}"; + sha256 = "1kjsf7il9krihwlrq08gk2xvil4b4q5zd87nnm103hby2w7ws7z1"; + fetchSubmodules = true; + }; + + postPatch = '' + patchShebangs ./dpf/utils/generate-ttl.sh + ''; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + boost cairo lv2 + ]; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + installPhase = '' + runHook preInstall + mkdir -p $out/lib/lv2 + cp -r bin/quadrafuzz.lv2/ $out/lib/lv2 + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://github.com/jpcima/quadrafuzz"; + description = "Multi-band fuzz distortion plugin"; + maintainers = [ maintainers.magnetophon ]; + platforms = platforms.linux; + license = licenses.gpl3Plus; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f2a6953067e0..fac07e4597fc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8033,6 +8033,8 @@ in qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { }; + quadrafuzz = callPackage ../applications/audio/quadrafuzz { }; + quickfix = callPackage ../development/libraries/quickfix { }; quickjs = callPackage ../development/interpreters/quickjs { };