nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
2020-11-27 07:57:14 +00:00

34 lines
801 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
stdenv.mkDerivation rec {
pname = "abcm2ps";
version = "8.14.10";
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
sha256 = "0x20vmf94n9s4r2q45543yi39fkc0jg9wd1imihjcqmb2sz3x3vm";
};
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
nativeBuildInputs = [ which pkgconfig docutils ];
buildInputs = [ freetype pango ];
meta = with stdenv.lib; {
homepage = "http://moinejf.free.fr/";
license = licenses.gpl3;
description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
platforms = platforms.unix;
maintainers = [ maintainers.dotlambda ];
};
}