mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
34 lines
808 B
Nix
34 lines
808 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "abcm2ps-${version}";
|
|
version = "8.14.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leesavide";
|
|
repo = "abcm2ps";
|
|
rev = "v${version}";
|
|
sha256 = "0sml21ip8ilkx8g5x608r6gzp1fxp9vmizgi0vcqclzaw9pjyiqg";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--INSTALL=install"
|
|
];
|
|
|
|
buildFlags = [
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
];
|
|
|
|
nativeBuildInputs = [ which pkgconfig docutils ];
|
|
|
|
buildInputs = [ freetype pango ];
|
|
|
|
meta = with stdenv.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 ];
|
|
};
|
|
}
|