1{ lib
2, stdenv
3, fetchFromGitHub
4, docutils
5, pkg-config
6, freetype
7, pango
8}:
9
10stdenv.mkDerivation rec {
11 pname = "abcm2ps";
12 version = "8.14.14";
13
14 src = fetchFromGitHub {
15 owner = "leesavide";
16 repo = "abcm2ps";
17 rev = "v${version}";
18 hash = "sha256-2BSbnziwlilYio9CF4MTlj0GVlkSpL8jeaqvLIBCeLQ=";
19 };
20
21 configureFlags = [
22 "--INSTALL=install"
23 ];
24
25 nativeBuildInputs = [ docutils pkg-config ];
26
27 buildInputs = [ freetype pango ];
28
29 meta = with lib; {
30 homepage = "http://moinejf.free.fr/";
31 license = licenses.lgpl3Plus;
32 description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
33 platforms = platforms.unix;
34 maintainers = [ maintainers.dotlambda ];
35 };
36}