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

34 lines
801 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, pkg-config, which, docutils, freetype, pango }:
2017-09-17 19:37:50 +02:00
stdenv.mkDerivation rec {
pname = "abcm2ps";
2020-12-08 12:13:39 +01:00
version = "8.14.11";
2017-09-17 19:37:50 +02:00
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
2020-12-08 12:13:39 +01:00
sha256 = "0lzzr2nkfg27gljcrdxkmli1wp08vap3vgxq1zgkv7f43rbm0qnw";
2017-09-17 19:37:50 +02:00
};
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
nativeBuildInputs = [ which pkg-config docutils ];
2018-08-02 12:29:35 +02:00
buildInputs = [ freetype pango ];
2017-09-17 19:37:50 +02:00
meta = with lib; {
homepage = "http://moinejf.free.fr/";
2017-09-17 19:37:50 +02:00
license = licenses.gpl3;
2019-03-15 10:39:21 +01:00
description = "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 ];
};
}