depot/third_party/nixpkgs/pkgs/tools/misc/github-backup/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

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 ];
};
}