nixpkgs/pkgs/tools/audio/abcm2ps/default.nix

36 lines
819 B
Nix
Raw Normal View History

2017-09-17 19:37:50 +02:00
{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
stdenv.mkDerivation rec {
name = "abcm2ps-${version}";
2018-02-22 00:35:58 +01:00
version = "8.13.20";
2017-09-17 19:37:50 +02:00
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
2018-02-22 00:35:58 +01:00
sha256 = "0zgwrclky6b1l1pd07s31azyxf4clwi3cp5x0wjix0wp78b89pbx";
2017-09-17 19:37:50 +02:00
};
2017-11-13 01:38:19 +01:00
prePatch = ''
2017-09-17 19:37:50 +02:00
chmod +x configure
'';
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
2017-09-17 19:37:50 +02:00
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;
2017-09-17 19:37:50 +02:00
maintainers = [ maintainers.dotlambda ];
};
}