@@ -0,0 +1,30 @@
1+{ lib
2+, python3
3+, git
4+, git-lfs
5+}:
6+
7+python3.pkgs.buildPythonApplication rec {
8+ pname = "github-backup";
9+ version = "0.39.0";
10+
11+ src = python3.pkgs.fetchPypi {
12+ inherit pname version;
13+ sha256 = "71829df4bdbe5bd55c324a97008405a6b4c6113edb1a2a6a8b73a7059fe64a47";
14+ };
15+
16+ makeWrapperArgs = [
17+ "--prefix" "PATH" ":" (lib.makeBinPath [ git git-lfs ])
18+ ];
19+
20+ # has no unit tests
21+ doCheck = false;
22+
23+ meta = with lib; {
24+ description = "Backup a github user or organization";
25+ homepage = "https://github.com/josegonzalez/python-github-backup";
26+ changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst";
27+ license = licenses.mit;
28+ maintainers = with maintainers; [ dotlambda ];
29+ };
30+}