38 lines
726 B
Nix
38 lines
726 B
Nix
{ 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 ];
|
|
};
|
|
}
|