github-backup: init at 0.39.0 (#116976)
This commit is contained in:
parent
4e37cc1f47
commit
a710de5592
30
pkgs/tools/misc/github-backup/default.nix
Normal file
30
pkgs/tools/misc/github-backup/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ lib
|
||||||
|
, python3
|
||||||
|
, git
|
||||||
|
, git-lfs
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "github-backup";
|
||||||
|
version = "0.39.0";
|
||||||
|
|
||||||
|
src = python3.pkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "71829df4bdbe5bd55c324a97008405a6b4c6113edb1a2a6a8b73a7059fe64a47";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4793,6 +4793,8 @@ in
|
||||||
|
|
||||||
gitfs = callPackage ../tools/filesystems/gitfs { };
|
gitfs = callPackage ../tools/filesystems/gitfs { };
|
||||||
|
|
||||||
|
github-backup = callPackage ../tools/misc/github-backup { };
|
||||||
|
|
||||||
gitin = callPackage ../applications/version-management/git-and-tools/gitin { };
|
gitin = callPackage ../applications/version-management/git-and-tools/gitin { };
|
||||||
|
|
||||||
gitinspector = callPackage ../applications/version-management/gitinspector { };
|
gitinspector = callPackage ../applications/version-management/gitinspector { };
|
||||||
|
|
Loading…
Reference in a new issue