nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
2017-12-21 13:31:45 +01:00

31 lines
735 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
stdenv.mkDerivation rec {
name = "abcm2ps-${version}";
version = "8.13.18";
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
sha256 = "0fzhk43fidyflqj8wd7m3m4pibzrbr1c120xi9wskzb3627pgyh1";
};
prePatch = ''
chmod +x configure
'';
configureFlags = [
"--INSTALL=install"
];
buildInputs = [ which pkgconfig freetype pango ];
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";
maintainers = [ maintainers.dotlambda ];
};
}