Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
993 B
Nix
52 lines
993 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchfossil,
|
|
docutils,
|
|
pkg-config,
|
|
freetype,
|
|
pango,
|
|
testers,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "abcm2ps";
|
|
version = "8.14.17";
|
|
|
|
src = fetchfossil {
|
|
url = "https://chiselapp.com/user/moinejf/repository/abcm2ps";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-YA36wfj7owKu/KyWgCj6U8EJEh831cFtQj4/JtH6kVg=";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--INSTALL=install"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
docutils
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
freetype
|
|
pango
|
|
];
|
|
|
|
passthru.tests = {
|
|
version = testers.testVersion {
|
|
package = finalAttrs.finalPackage;
|
|
command = "abcm2ps -V";
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
homepage = "http://moinejf.free.fr/";
|
|
license = lib.licenses.lgpl3Plus;
|
|
description = "Command line program which converts ABC to music sheet in PostScript or SVG format";
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
mainProgram = "abcm2ps";
|
|
};
|
|
})
|