Files
nixpkgs/pkgs/by-name/gi/git-dumper/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

44 lines
893 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "git-dumper";
version = "1.0.8";
pyproject = true;
src = fetchFromGitHub {
owner = "arthaud";
repo = "git-dumper";
tag = version;
hash = "sha256-XU+6Od+mC8AV+w7sd8JaMB2Lc81ekeDLDiGGNu6bU0A=";
};
build-system = [
python3Packages.setuptools
];
dependencies = with python3Packages; [
beautifulsoup4
dulwich
pysocks
requests
requests-pkcs12
];
pythonImportsCheck = [
"git_dumper"
];
meta = {
description = "Tool to dump a git repository from a website";
homepage = "https://github.com/arthaud/git-dumper";
changelog = "https://github.com/arthaud/git-dumper/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yechielw ];
mainProgram = "git-dumper";
};
}