1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "python-mimeparse";
9 version = "1.6.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78";
14 };
15
16 checkInputs = [
17 pytestCheckHook
18 ];
19
20 meta = with lib; {
21 description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
22 homepage = "https://github.com/dbtsai/python-mimeparse";
23 license = licenses.mit;
24 maintainers = with maintainers; [ ];
25 };
26}