1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
2018-02-22 00:35:58 +01:00

36 lines
819 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
stdenv.mkDerivation rec {
name = "abcm2ps-${version}";
version = "8.13.20";
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
sha256 = "0zgwrclky6b1l1pd07s31azyxf4clwi3cp5x0wjix0wp78b89pbx";
};
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 ];
};
}