2017-09-17 17:37:50 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abcm2ps-${version}";
|
2018-05-07 13:01:20 +00:00
|
|
|
version = "8.13.21";
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2018-05-07 13:01:20 +00:00
|
|
|
sha256 = "03r98xdw2vdwsi726i0zb7p0ljp3fpzjl1nhzfwz57m3zmqvz6r1";
|
2017-09-17 17:37:50 +00:00
|
|
|
};
|
|
|
|
|
2017-11-13 00:38:19 +00:00
|
|
|
prePatch = ''
|
2017-09-17 17:37:50 +00:00
|
|
|
chmod +x configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2018-01-23 17:29:14 +00:00
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
2017-09-17 17:37:50 +00:00
|
|
|
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";
|
2018-01-23 17:29:14 +00:00
|
|
|
platforms = platforms.unix;
|
2017-09-17 17:37:50 +00:00
|
|
|
maintainers = [ maintainers.dotlambda ];
|
|
|
|
};
|
|
|
|
}
|