2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, which, docutils, freetype, pango }:
|
2017-09-17 19:37:50 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "abcm2ps";
|
2021-07-20 10:58:29 +02:00
|
|
|
version = "8.14.12";
|
2017-09-17 19:37:50 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2021-07-20 10:58:29 +02:00
|
|
|
sha256 = "sha256-RELWtI+S2cbG7cXCehXymvWRdair28UaDZRVr5xt9Tk=";
|
2017-09-17 19:37:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2018-01-23 18:29:14 +01:00
|
|
|
buildFlags = [
|
|
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
|
|
];
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ which pkg-config docutils ];
|
2018-08-02 12:29:35 +02:00
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
2017-09-17 19:37:50 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://moinejf.free.fr/";
|
2021-07-24 00:11:04 +02:00
|
|
|
license = licenses.lgpl3Plus;
|
2019-03-15 10:39:21 +01:00
|
|
|
description = "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 ];
|
|
|
|
};
|
|
|
|
}
|