diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-07 17:00:39 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-03-11 00:42:50 +0100 |
commit | 90d3003013438f4cb2969d0544bfdea19683b462 (patch) | |
tree | f9a7f927a301713b1890dcd1591941e44bfb76e3 /pkgs/development/python-modules/wcmatch | |
parent | bd1307d6bd309f84857427a03907dcae046e9d5f (diff) |
pythonPackages.wcmatch: init at 8.1.1
Diffstat (limited to 'pkgs/development/python-modules/wcmatch')
-rw-r--r-- | pkgs/development/python-modules/wcmatch/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/wcmatch/default.nix b/pkgs/development/python-modules/wcmatch/default.nix new file mode 100644 index 0000000000000..ade529e56274f --- /dev/null +++ b/pkgs/development/python-modules/wcmatch/default.nix @@ -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 ]; + }; +} |