My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/git-filter-repo/default.nix

37 lines
726 B

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "git-filter-repo";
version = "2.34.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-taCfODhl3goWSwa6F0Rh5V2RZ8xvuwbPKh5i2/DNumM=";
};
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 ];
};
}