{ lib, stdenv, fetchFromGitHub, libx11, cairo, lv2, pkg-config, }: stdenv.mkDerivation (finalAttrs: { pname = "bshapr"; version = "0.13"; src = fetchFromGitHub { owner = "sjaehn"; repo = "BShapr"; rev = "v${finalAttrs.version}"; sha256 = "sha256-9I4DPRl6i/VL8Etw3qLGZkP45BGsbxFxNOvRy3B3I+M="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libx11 cairo lv2 ]; installFlags = [ "PREFIX=$(out)" ]; meta = { homepage = "https://github.com/sjaehn/BShapr"; description = "Beat / envelope shaper LV2 plugin"; maintainers = [ lib.maintainers.magnetophon ]; platforms = lib.platforms.linux; license = lib.licenses.gpl3; }; })