1{ lib
2, python3
3, git
4, git-lfs
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "github-backup";
9 version = "0.41.0";
10
11 src = python3.pkgs.fetchPypi {
12 inherit pname version;
13 sha256 = "6e6462125b930de4d28efed7ee0d4377e77371a4918768436c3cecf79cc87078";
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}