nixpkgs/pkgs/applications/audio/bchoppr/default.nix

29 lines
694 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, libX11, lv2 }:
2020-08-17 16:15:14 +00:00
stdenv.mkDerivation rec {
pname = "bchoppr";
2020-08-29 02:17:08 +00:00
version = "1.8.0";
2020-08-17 16:15:14 +00:00
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = version;
2020-08-29 02:17:08 +00:00
sha256 = "1nd6byy75f0rbz9dm9drhxmpsfhxhg0y7q3v2m3098llynhy9k2j";
2020-08-17 16:15:14 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo libX11 lv2 ];
installFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with lib; {
2020-08-17 16:15:14 +00:00
homepage = https://github.com/sjaehn/BChoppr;
description = "An audio stream chopping LV2 plugin";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}