nixpkgs/pkgs/tools/misc/github-backup/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
750 B
Nix
Raw Normal View History

{ lib
, python3
, fetchPypi
, git
, git-lfs
}:
python3.pkgs.buildPythonApplication rec {
pname = "github-backup";
2023-06-30 07:48:17 +00:00
version = "0.43.1";
2023-06-30 07:51:15 +00:00
format = "setuptools";
src = fetchPypi {
inherit pname version;
2023-06-30 07:51:15 +00:00
hash = "sha256-S0674oTUsXftXlbP8fbF09FIWnWwq/Mgbv960tg3FNg=";
};
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";
2023-06-30 07:50:37 +00:00
changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}