nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6}:
7
8stdenv.mkDerivation {
9 pname = "fverb";
10 # no release yet: https://github.com/jpcima/fverb/issues/2
11 version = "unstable-2020-06-09";
12
13 src = fetchFromGitHub {
14 owner = "jpcima";
15 repo = "fverb";
16 rev = "462020e33e24c0204a375dc95e2c28654cc917b8";
17 sha256 = "12nl7qn7mnykk7v8q0j2n8kfq0xc46n0i45z6qcywspadwnncmd4";
18 fetchSubmodules = true;
19 };
20
21 nativeBuildInputs = [ pkg-config ];
22
23 makeFlags = [ "PREFIX=${placeholder "out"}" ];
24
25 postPatch = ''
26 patchShebangs ./dpf/utils/generate-ttl.sh
27 '';
28
29 meta = with lib; {
30 description = "Stereo variant of the reverberator by Jon Dattorro, for lv2";
31 homepage = "https://github.com/jpcima/fverb";
32 license = licenses.bsd2;
33 maintainers = [ maintainers.magnetophon ];
34 platforms = platforms.unix;
35 };
36}