nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
2018-01-23 18:56:54 +01:00

35 lines
819 B
Nix

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