depot/third_party/nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

36 lines
744 B
Nix

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