diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-05-06 01:21:16 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-05-15 23:35:15 +0200 |
| commit | 408492b2346c2fd2675884792e614b9faa7f25d2 (patch) | |
| tree | 74c375543f91b2c5ae62fdade5585c1d92d98b3e /pkgs/development/python-modules/python-mimeparse | |
| parent | ea69f79829972187ecf6c1eaede4ce7a15d81736 (diff) | |
python310Packages.python-mimeparse: execute tests
Diffstat (limited to 'pkgs/development/python-modules/python-mimeparse')
| -rw-r--r-- | pkgs/development/python-modules/python-mimeparse/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python-mimeparse/default.nix b/pkgs/development/python-modules/python-mimeparse/default.nix index ccc8dc78f442..ab91a5d5e2e5 100644 --- a/pkgs/development/python-modules/python-mimeparse/default.nix +++ b/pkgs/development/python-modules/python-mimeparse/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pytestCheckHook }: buildPythonPackage rec { @@ -12,8 +13,9 @@ buildPythonPackage rec { sha256 = "76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78"; }; - # error: invalid command 'test' - doCheck = false; + checkInputs = [ + pytestCheckHook + ]; meta = with lib; { description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges"; |
