mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
31 lines
735 B
Nix
31 lines
735 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "abcm2ps-${version}";
|
|
version = "8.13.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leesavide";
|
|
repo = "abcm2ps";
|
|
rev = "v${version}";
|
|
sha256 = "1xb37jh811b7h72wpaykck6nskwq4mvy833q6wkhcyr041p1gcp7";
|
|
};
|
|
|
|
prePatch = ''
|
|
chmod +x configure
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--INSTALL=install"
|
|
];
|
|
|
|
buildInputs = [ which pkgconfig freetype pango ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://moinejf.free.fr/;
|
|
license = licenses.gpl3;
|
|
description = "abcm2ps is a command line program which converts ABC to music sheet in PostScript or SVG format";
|
|
maintainers = [ maintainers.dotlambda ];
|
|
};
|
|
}
|