2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, git
|
|
|
|
, git-lfs
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "github-backup";
|
2021-09-26 12:46:18 +00:00
|
|
|
version = "0.40.1";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-26 12:46:18 +00:00
|
|
|
sha256 = "sha256-Qrj0+4WXlW0UgG2xV/P8e0QgUG3VurY4HIAiiUF3LW8=";
|
2021-03-20 04:20:00 +00: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";
|
|
|
|
changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|