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 libsndfile,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "bjumblr";
14 version = "1.6.8";
15
16 src = fetchFromGitHub {
17 owner = "sjaehn";
18 repo = "BJumblr";
19 rev = version;
20 sha256 = "sha256-qSoGmWUGaMjx/bkiCJ/qb4LBbuFPXXlJ0e9hrFBXzwE=";
21 };
22
23 nativeBuildInputs = [ pkg-config ];
24 buildInputs = [
25 libX11
26 cairo
27 lv2
28 libsndfile
29 ];
30
31 installFlags = [ "PREFIX=$(out)" ];
32
33 meta = with lib; {
34 homepage = "https://github.com/sjaehn/BJumblr";
35 description = "Pattern-controlled audio stream / sample re-sequencer LV2 plugin";
36 maintainers = [ maintainers.magnetophon ];
37 platforms = platforms.linux;
38 license = licenses.gpl3;
39 };
40}