{ stdenv, fetchFromGitHub, xorg, cairo, lv2, pkgconfig }: stdenv.mkDerivation rec { pname = "BShapr"; version = "0.8"; src = fetchFromGitHub { owner = "sjaehn"; repo = pname; rev = "v${version}"; sha256 = "0jlq5rjicc4fxlpk869dg0l5bwwz8k9aj2wfk9v89b0qw8l8kaxl"; }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ xorg.libX11 cairo lv2 ]; installFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { homepage = https://github.com/sjaehn/BShapr; description = "Beat / envelope shaper LV2 plugin"; maintainers = [ maintainers.magnetophon ]; platforms = platforms.linux; license = licenses.gpl3; }; }