mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
31 lines
627 B
Nix
31 lines
627 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
, git
|
|
, git-lfs
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "github-backup";
|
|
version = "0.42.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-tFfS3Z7xrbN2QEOrYcUVd8/YwGKfmR2NaUBeXuSL+tY=";
|
|
};
|
|
|
|
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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|