2018-10-17 15:56:57 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abcm2ps-${version}";
|
2019-07-19 05:01:54 +00:00
|
|
|
version = "8.14.5";
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2019-07-19 05:01:54 +00:00
|
|
|
sha256 = "1i6db49khqy8bqg21cn90b1fvyw8mh1asdswzssr6dr2g8bhdwmq";
|
2017-09-17 17:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2018-01-23 17:29:14 +00:00
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
2018-10-17 15:56:57 +00:00
|
|
|
nativeBuildInputs = [ which pkgconfig docutils ];
|
2018-08-02 10:29:35 +00:00
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://moinejf.free.fr/;
|
|
|
|
license = licenses.gpl3;
|
2019-03-15 09:39:21 +00:00
|
|
|
description = "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 ];
|
|
|
|
};
|
|
|
|
}
|