29 lines
697 B
Nix
29 lines
697 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, libX11, lv2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bchoppr";
|
|
version = "1.10.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sjaehn";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-LNPG/ETRmgPv8LsYVHol4p5oRCvg+dSYVEe61i8Dvz8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ cairo libX11 lv2 ];
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/sjaehn/BChoppr";
|
|
description = "An audio stream chopping LV2 plugin";
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl3Plus;
|
|
};
|
|
}
|