summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-mimeparse/default.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-05-23 19:56:59 +0200
committerJanne Heß <janne@hess.ooo>2022-05-23 19:56:59 +0200
commit3673f148b3e71f8dafdb11ba0335253d5659ff9f (patch)
treeb743e44f7c48f9b16fea7c0a662947ae41e45ed1 /pkgs/development/python-modules/python-mimeparse/default.nix
parent41cc1d5d9584103be4108c1815c350e07c807036 (diff)
parentf51499324ca76ffcf2f00caff5fc32b3f3e8237c (diff)
Merge remote-tracking branch 'origin/staging-next'
* origin/staging-next: (62 commits)
  Re-Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
  openldap: fix cross-compilation
  makeBinaryWrapper: fix codesign on aarch64-darwin
  python3Packages.ldap: fix linking with openldap 2.5+
  Revert "lua: fix on darwin by using makeBinaryWrapper (#172749)"
  wine: enable parallel build again
  pkgsi686Linux.gdb: fix formatting for 32-bit systems
  gtk4: Fix incorrect merge
  nixos/openldap: use upstream unit defaults
  openldap: update maintainers
  openldap: 2.4.58 -> 2.6.2
  Revert "Add mingwW64-llvm cross-system."
  lua: fix on darwin by using makeBinaryWrapper (#172749)
  python310Packages.python-mimeparse: execute tests
  pandas: fix darwin build
  gtk3: 3.24.33 -> 3.24.33-2022-03-11
  gtk4: patch fixing g-c-c crashes
  e2fsprogs: patch for CVE-2022-1304
  firefox-unwrapped: fix cross compilation
  rustc: expose correct llvmPackages for cross compile
  ...
Diffstat (limited to 'pkgs/development/python-modules/python-mimeparse/default.nix')
-rw-r--r--pkgs/development/python-modules/python-mimeparse/default.nix6
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 ccc8dc78f4421..ab91a5d5e2e5c 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";