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
47 lines
955 B
Nix
47 lines
955 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
git,
|
|
git-lfs,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "github-backup";
|
|
version = "0.50.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "josegonzalez";
|
|
repo = "python-github-backup";
|
|
tag = version;
|
|
hash = "sha256-MBKBY86qIM/rgvGMvE7K9x9n+zDVtoimkVGLBxCWRmI=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix"
|
|
"PATH"
|
|
":"
|
|
(lib.makeBinPath [
|
|
git
|
|
git-lfs
|
|
])
|
|
];
|
|
|
|
# has no unit tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Backup a github user or organization";
|
|
homepage = "https://github.com/josegonzalez/python-github-backup";
|
|
changelog = "https://github.com/josegonzalez/python-github-backup/blob/${src.tag}/CHANGES.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
mainProgram = "github-backup";
|
|
};
|
|
}
|