mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +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.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leesavide";
|
|
repo = "abcm2ps";
|
|
rev = "v${version}";
|
|
sha256 = "1niafqn3kzd3fpx2c7m0by8il52ird2hbhvr7l03l290vlpjw6zc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|