pythonPackages.wcmatch: init at 8.1.1

This commit is contained in:
Sandro Jäckel 2021-03-07 17:00:39 +01:00
parent bd1307d6bd
commit 90d3003013
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, bracex }:
buildPythonPackage rec {
pname = "wcmatch";
version = "8.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-e6CRkflYLoLYZIKb37qwLfRuJqRqME5Xx/5WUvB/KXo=";
};
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 ];
};
}

View File

@ -8492,6 +8492,8 @@ in {
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
wcmatch = callPackage ../development/python-modules/wcmatch { };
wcwidth = callPackage ../development/python-modules/wcwidth { };
weasyprint = callPackage ../development/python-modules/weasyprint { };