nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libx11,
6 cairo,
7 lv2,
8 pkg-config,
9}:
10
11stdenv.mkDerivation (finalAttrs: {
12 pname = "bshapr";
13 version = "0.13";
14
15 src = fetchFromGitHub {
16 owner = "sjaehn";
17 repo = "BShapr";
18 rev = "v${finalAttrs.version}";
19 sha256 = "sha256-9I4DPRl6i/VL8Etw3qLGZkP45BGsbxFxNOvRy3B3I+M=";
20 };
21
22 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [
24 libx11
25 cairo
26 lv2
27 ];
28
29 installFlags = [ "PREFIX=$(out)" ];
30
31 meta = {
32 homepage = "https://github.com/sjaehn/BShapr";
33 description = "Beat / envelope shaper LV2 plugin";
34 maintainers = [ lib.maintainers.magnetophon ];
35 platforms = lib.platforms.linux;
36 license = lib.licenses.gpl3;
37 };
38})