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
40 lines
855 B
Nix
40 lines
855 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
perl,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "xmlformat";
|
|
version = "1.9-unstable-2021-09-15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "someth2say";
|
|
repo = "xmlformat";
|
|
rev = "15a22213b341ab2800806f052a32d29898fecaad";
|
|
hash = "sha256-XCjvGeMerSqyMaVEu6EvLuwgsOxZ/v6ahgFCbzRqC7w=";
|
|
};
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp bin/xmlformat.pl $out/bin/xmlformat
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Configurable formatter (or 'pretty-printer') for XML documents";
|
|
homepage = "https://github.com/someth2say/xmlformat";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "xmlformat";
|
|
maintainers = with lib.maintainers; [
|
|
gepbird
|
|
];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|