Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "python-mimeparse"; 10 version = "1.6.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78"; 16 }; 17 18 nativeCheckInputs = [ pytestCheckHook ]; 19 20 meta = with lib; { 21 description = "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 = [ ]; 25 }; 26}