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

38 lines
865 B
Nix
Raw Normal View History

2018-10-17 08:56:57 -07:00
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
2017-09-17 10:37:50 -07:00
stdenv.mkDerivation rec {
name = "abcm2ps-${version}";
2018-12-19 07:31:20 -08:00
version = "8.14.2";
2017-09-17 10:37:50 -07:00
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
2018-12-19 07:31:20 -08:00
sha256 = "15hka82zps3rfp4xdbzlf23wz4hqjk084awzfjh357qn168bwwid";
2017-09-17 10:37:50 -07:00
};
2017-11-12 16:38:19 -08:00
prePatch = ''
2017-09-17 10:37:50 -07:00
chmod +x configure
'';
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
2018-10-17 08:56:57 -07:00
nativeBuildInputs = [ which pkgconfig docutils ];
2018-08-02 03:29:35 -07:00
buildInputs = [ freetype pango ];
2017-09-17 10:37:50 -07:00
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 10:37:50 -07:00
maintainers = [ maintainers.dotlambda ];
};
}