about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-mimeparse/default.nix
blob: 4b7ef603297d3934980658498264a8fdf18a0293 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "python-mimeparse";
  version = "1.6.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
    homepage = "https://github.com/dbtsai/python-mimeparse";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}