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

34 lines
800 B
Nix
Raw Normal View History

2018-10-17 16:56:57 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
2017-09-17 18:37:50 +01:00
stdenv.mkDerivation rec {
pname = "abcm2ps";
2020-07-01 11:47:57 +01:00
version = "8.14.9";
2017-09-17 18:37:50 +01:00
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
2020-07-01 11:47:57 +01:00
sha256 = "0h4qzj9k5ng09nbkfipvr82piq68c576akjwmhsqn05rvgirmhx7";
2017-09-17 18:37:50 +01:00
};
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
2018-10-17 16:56:57 +01:00
nativeBuildInputs = [ which pkgconfig docutils ];
2018-08-02 11:29:35 +01:00
buildInputs = [ freetype pango ];
2017-09-17 18:37:50 +01:00
meta = with stdenv.lib; {
homepage = "http://moinejf.free.fr/";
2017-09-17 18:37:50 +01:00
license = licenses.gpl3;
2019-03-15 09:39:21 +00:00
description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
platforms = platforms.unix;
2017-09-17 18:37:50 +01:00
maintainers = [ maintainers.dotlambda ];
};
}