36368d99b7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/abcm2ps/versions. These checks were done: - built on NixOS - ran ‘/nix/store/jz4zd20m2cmgcgyixg5xc08y6srqskyv-abcm2ps-8.13.21/bin/abcm2ps -h’ got 0 exit code - found 8.13.21 with grep in /nix/store/jz4zd20m2cmgcgyixg5xc08y6srqskyv-abcm2ps-8.13.21 - directory tree listing: https://gist.github.com/8743b1d2b794435906fc0d11cbfcb803
36 lines
819 B
Nix
36 lines
819 B
Nix
{ stdenv, fetchFromGitHub, pkgconfig, which, freetype, pango }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "abcm2ps-${version}";
|
|
version = "8.13.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leesavide";
|
|
repo = "abcm2ps";
|
|
rev = "v${version}";
|
|
sha256 = "03r98xdw2vdwsi726i0zb7p0ljp3fpzjl1nhzfwz57m3zmqvz6r1";
|
|
};
|
|
|
|
prePatch = ''
|
|
chmod +x configure
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--INSTALL=install"
|
|
];
|
|
|
|
buildFlags = [
|
|
"CC=${stdenv.cc}/bin/cc"
|
|
];
|
|
|
|
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";
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.dotlambda ];
|
|
};
|
|
}
|