2022-01-30 06:06:04 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, docutils
|
|
|
|
, pkg-config
|
|
|
|
, freetype
|
|
|
|
, pango
|
|
|
|
}:
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "abcm2ps";
|
2022-12-19 19:05:12 +00:00
|
|
|
version = "8.14.14";
|
2017-09-17 17:37:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leesavide";
|
|
|
|
repo = "abcm2ps";
|
|
|
|
rev = "v${version}";
|
2022-12-19 19:05:12 +00:00
|
|
|
hash = "sha256-2BSbnziwlilYio9CF4MTlj0GVlkSpL8jeaqvLIBCeLQ=";
|
2017-09-17 17:37:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--INSTALL=install"
|
|
|
|
];
|
|
|
|
|
2022-01-30 06:06:04 +00:00
|
|
|
nativeBuildInputs = [ docutils pkg-config ];
|
2018-08-02 10:29:35 +00:00
|
|
|
|
|
|
|
buildInputs = [ freetype pango ];
|
2017-09-17 17:37:50 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://moinejf.free.fr/";
|
2021-07-23 22:11:04 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
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 ];
|
|
|
|
};
|
|
|
|
}
|