2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, boost, cairo, lv2, pkg-config }:
|
2019-11-24 11:45:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "string-machine";
|
|
|
|
version = "unstable-2020-01-20";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jpcima";
|
|
|
|
repo = pname;
|
|
|
|
rev = "188082dd0beb9a3c341035604841c53675fe66c4";
|
|
|
|
sha256 = "0l9xrzp3f0hk6h320qh250a0n1nbd6qhjmab21sjmrlb4ngy672v";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs ./dpf/utils/generate-ttl.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost cairo lv2
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-24 11:45:48 +00:00
|
|
|
homepage = "https://github.com/jpcima/string-machine";
|
|
|
|
description = "Digital model of electronic string ensemble instrument";
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = intersectLists platforms.linux platforms.x86;
|
|
|
|
license = licenses.boost;
|
|
|
|
};
|
|
|
|
}
|