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

29 lines
696 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, cairo, libX11, lv2 }:
2020-08-17 17:15:14 +01:00
stdenv.mkDerivation rec {
pname = "bchoppr";
2021-03-04 12:30:07 +00:00
version = "1.10.4";
2020-08-17 17:15:14 +01:00
src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = version;
2021-03-04 12:30:07 +00:00
sha256 = "sha256-/csds8QOgn5IogyMg/5PMKdlCISakS3GDkyj2tTt0BY=";
2020-08-17 17:15:14 +01:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo libX11 lv2 ];
installFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with lib; {
2021-01-18 10:47:53 +00:00
homepage = "https://github.com/sjaehn/BChoppr";
2020-08-17 17:15:14 +01:00
description = "An audio stream chopping LV2 plugin";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
};
}