2018-10-17 16:56:57 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
2017-09-17 18:37:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "abcm2ps";
|
2020-02-19 15:59:36 +00:00
|
|
|
version = "8.14.7";
|
2017-09-17 18:37:50 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2020-02-19 15:59:36 +00:00
|
|
|
sha256 = "0k12wf37vl31w2qpj3dsmv8c4ifrsg3qa30gqsx553jw7n0f3ma2";
|
2017-09-17 18:37:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2018-01-23 17:29:14 +00:00
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
2018-10-17 16:56:57 +01:00
|
|
|
nativeBuildInputs = [ which pkgconfig docutils ];
|
2018-08-02 11:29:35 +01:00
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
2017-09-17 18:37:50 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://moinejf.free.fr/";
|
2017-09-17 18:37:50 +01:00
|
|
|
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 18:37:50 +01:00
|
|
|
maintainers = [ maintainers.dotlambda ];
|
|
|
|
};
|
|
|
|
}
|