30 lines
741 B
Nix
30 lines
741 B
Nix
{ lib
|
|
, python3
|
|
, git
|
|
, git-lfs
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "github-backup";
|
|
version = "0.41.0";
|
|
|
|
src = python3.pkgs.fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "6e6462125b930de4d28efed7ee0d4377e77371a4918768436c3cecf79cc87078";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|