2018-10-17 17:56:57 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
2017-09-17 19:37:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "abcm2ps-${version}";
|
2018-10-17 17:56:57 +02:00
|
|
|
version = "8.14.0";
|
2017-09-17 19:37:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2018-10-17 17:56:57 +02:00
|
|
|
sha256 = "1nlvq2cfdy5pghll3aprws7yx5p14gcrhz10q9fa6myrd8ad4if1";
|
2017-09-17 19:37:50 +02:00
|
|
|
};
|
|
|
|
|
2017-11-13 01:38:19 +01:00
|
|
|
prePatch = ''
|
2017-09-17 19:37:50 +02:00
|
|
|
chmod +x configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2018-01-23 18:29:14 +01:00
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
2018-10-17 17:56:57 +02:00
|
|
|
nativeBuildInputs = [ which pkgconfig docutils ];
|
2018-08-02 12:29:35 +02:00
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
2017-09-17 19:37:50 +02:00
|
|
|
|
|
|
|
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 18:29:14 +01:00
|
|
|
platforms = platforms.unix;
|
2017-09-17 19:37:50 +02:00
|
|
|
maintainers = [ maintainers.dotlambda ];
|
|
|
|
};
|
|
|
|
}
|