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

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

38 lines
844 B
Nix
Raw Normal View History

{ lib
, python3
, fetchPypi
, git
, git-lfs
}:
python3.pkgs.buildPythonApplication rec {
pname = "github-backup";
2024-01-29 15:27:42 +01:00
version = "0.45.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
2024-01-29 15:27:42 +01:00
hash = "sha256-bT5eqhpSK9u6Q4hO8FTgbpjjv0x2am1m2fOw5OqxixQ=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
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 09:50:37 +02:00
changelog = "https://github.com/josegonzalez/python-github-backup/blob/${version}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
2023-11-27 02:17:53 +01:00
mainProgram = "github-backup";
};
}