3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/audio/abcm2ps/default.nix

31 lines
735 B
Nix
Raw Normal View History

2017-09-17 18:37:50 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
stdenv.mkDerivation rec {
name = "abcm2ps-${version}";
2017-12-21 12:31:13 +00:00
version = "8.13.18";
2017-09-17 18:37:50 +01:00
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
2017-12-21 12:31:13 +00:00
sha256 = "0fzhk43fidyflqj8wd7m3m4pibzrbr1c120xi9wskzb3627pgyh1";
2017-09-17 18:37:50 +01:00
};
2017-11-13 00:38:19 +00:00
prePatch = ''
2017-09-17 18:37:50 +01:00
chmod +x configure
'';
configureFlags = [
"--INSTALL=install"
];
buildInputs = [ which pkgconfig freetype pango ];
meta = with stdenv.lib; {
homepage = http://moinejf.free.fr/;
license = licenses.gpl3;
description = "abcm2ps is a command line program which converts ABC to music sheet in PostScript or SVG format";
maintainers = [ maintainers.dotlambda ];
};
}