Files
nixpkgs/pkgs/by-name/ji/jigdo/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1003 B
Nix

{
lib,
stdenv,
fetchurl,
gettext,
bzip2,
db,
zlib,
}:
stdenv.mkDerivation rec {
pname = "jigdo";
version = "0.8.2";
src = fetchurl {
url = "https://www.einval.com/~steve/software/jigdo/download/jigdo-${version}.tar.xz";
hash = "sha256-NvKG2T+mtr94hfSJnJl4lNIdo6YhdlkqwWLZxqhkT54=";
};
# unable to parse jigdo-file.sgml
postPatch = ''
sed \
-e "s@.*cd doc.*@@g" \
-e "s@.*/man1.*@\t\t:@g" \
-i Makefile.in
'';
strictDeps = true;
nativeBuildInputs = [
gettext
];
buildInputs = [
bzip2
db
zlib
];
meta = {
description = "Download utility that can fetch files from several sources simultaneously";
homepage = "https://www.einval.com/~steve/software/jigdo/";
changelog = "https://git.einval.com/cgi-bin/gitweb.cgi?p=jigdo.git;a=blob;f=changelog;hb=refs/tags/${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ wegank ];
platforms = lib.platforms.unix;
};
}