2021-03-24 13:02:12 +01:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-05-25 16:07:31 +02:00
|
|
|
, fetchPypi
|
2021-03-24 13:02:12 +01:00
|
|
|
, git
|
|
|
|
, git-lfs
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "github-backup";
|
2024-01-29 15:27:42 +01:00
|
|
|
version = "0.45.0";
|
2023-12-27 19:30:14 +01:00
|
|
|
pyproject = true;
|
2021-03-24 13:02:12 +01:00
|
|
|
|
2023-05-25 16:07:31 +02:00
|
|
|
src = fetchPypi {
|
2021-03-24 13:02:12 +01:00
|
|
|
inherit pname version;
|
2024-01-29 15:27:42 +01:00
|
|
|
hash = "sha256-bT5eqhpSK9u6Q4hO8FTgbpjjv0x2am1m2fOw5OqxixQ=";
|
2021-03-24 13:02:12 +01:00
|
|
|
};
|
|
|
|
|
2023-12-27 19:30:14 +01:00
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-03-24 13:02:12 +01:00
|
|
|
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";
|
2023-06-30 09:50:37 +02:00
|
|
|
changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst";
|
2021-03-24 13:02:12 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "github-backup";
|
2021-03-24 13:02:12 +01:00
|
|
|
};
|
|
|
|
}
|