diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-12 23:10:06 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-12 23:10:06 +0200 |
commit | f21d29b0bcabd708637181792b87a6de0e821ca7 (patch) | |
tree | af19527b1adf444f7cfd010bef90590aabed04b3 /pkgs/development/python-modules/git-filter-repo | |
parent | 1aac6f3b28465a0a88fac91737a7543a8ef6cb40 (diff) |
python3Packages.git-filter-repo: init at 2.33.0
Diffstat (limited to 'pkgs/development/python-modules/git-filter-repo')
-rw-r--r-- | pkgs/development/python-modules/git-filter-repo/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/git-filter-repo/default.nix b/pkgs/development/python-modules/git-filter-repo/default.nix new file mode 100644 index 0000000000000..ac0ee80385828 --- /dev/null +++ b/pkgs/development/python-modules/git-filter-repo/default.nix @@ -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 ]; + }; +} |