2021-04-05 15:23:46 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, bracex }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wcmatch";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "8.3";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bracex ];
|
|
|
|
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
"TestTilde"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "wcmatch" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Wilcard File Name matching library";
|
|
|
|
homepage = "https://github.com/facelessuser/wcmatch";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|