depot/third_party/nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

33 lines
801 B
Nix

{ lib, stdenv, fetchFromGitHub, pkg-config, which, docutils, freetype, pango }:
stdenv.mkDerivation rec {
pname = "abcm2ps";
version = "8.14.11";
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
sha256 = "0lzzr2nkfg27gljcrdxkmli1wp08vap3vgxq1zgkv7f43rbm0qnw";
};
configureFlags = [
"--INSTALL=install"
];
buildFlags = [
"CC=${stdenv.cc}/bin/cc"
];
nativeBuildInputs = [ which pkg-config docutils ];
buildInputs = [ freetype pango ];
meta = with lib; {
homepage = "http://moinejf.free.fr/";
license = licenses.gpl3;
description = "A command line program which converts ABC to music sheet in PostScript or SVG format";
platforms = platforms.unix;
maintainers = [ maintainers.dotlambda ];
};
}