2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "abcm2ps";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "8.14.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "0x20vmf94n9s4r2q45543yi39fkc0jg9wd1imihjcqmb2sz3x3vm";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ which pkgconfig docutils ];
|
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://moinejf.free.fr/";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.dotlambda ];
|
|
|
|
};
|
|
|
|
}
|