python3Packages.git-filter-repo: init at 2.33.0
This commit is contained in:
parent
1aac6f3b28
commit
f21d29b0bc
2 changed files with 39 additions and 0 deletions
37
pkgs/development/python-modules/git-filter-repo/default.nix
Normal file
37
pkgs/development/python-modules/git-filter-repo/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "git-filter-repo";
|
||||
version = "2.33.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1nxfd5yv8ri7w5pzxclxs0yd317nsdcwvw87ancmdkh69xvx1f2f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"git_filter_repo"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quickly rewrite git repository history";
|
||||
homepage = "https://github.com/newren/git-filter-repo";
|
||||
license = with licenses; [ mit /* or */ gpl2Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3019,6 +3019,8 @@ in {
|
|||
git-annex-adapter =
|
||||
callPackage ../development/python-modules/git-annex-adapter { };
|
||||
|
||||
git-filter-repo = callPackage ../development/python-modules/git-filter-repo { };
|
||||
|
||||
gitdb = callPackage ../development/python-modules/gitdb { };
|
||||
|
||||
github3_py = callPackage ../development/python-modules/github3_py { };
|
||||
|
|
Loading…
Reference in a new issue