nixpkgs/pkgs/tools/audio/abcm2ps/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

33 lines
798 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, which, docutils, freetype, pango }:
stdenv.mkDerivation rec {
pname = "abcm2ps";
version = "8.14.5";
src = fetchFromGitHub {
owner = "leesavide";
repo = "abcm2ps";
rev = "v${version}";
sha256 = "1i6db49khqy8bqg21cn90b1fvyw8mh1asdswzssr6dr2g8bhdwmq";
};
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 ];
};
}