nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 cairo,
7 libX11,
8 lv2,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "bchoppr";
13 version = "1.12.6";
14
15 src = fetchFromGitHub {
16 owner = "sjaehn";
17 repo = "bchoppr";
18 rev = version;
19 hash = "sha256-/aLoLUpWu66VKd9lwjli+FZZctblrZUPSEsdYH85HwQ=";
20 fetchSubmodules = true;
21 };
22
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [
25 cairo
26 libX11
27 lv2
28 ];
29
30 installFlags = [ "PREFIX=$(out)" ];
31
32 enableParallelBuilding = true;
33
34 meta = with lib; {
35 homepage = "https://github.com/sjaehn/BChoppr";
36 description = "Audio stream chopping LV2 plugin";
37 maintainers = [ maintainers.magnetophon ];
38 platforms = platforms.linux;
39 license = licenses.gpl3Plus;
40 };
41}