2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 15:29:16 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-mimeparse";
|
2018-11-04 10:35:14 +00:00
|
|
|
version = "1.6.0";
|
2018-10-28 15:29:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:35:14 +00:00
|
|
|
sha256 = "76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78";
|
2018-10-28 15:29:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 15:29:16 +00:00
|
|
|
description = "A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges";
|
2019-12-08 16:50:31 +00:00
|
|
|
homepage = "https://github.com/dbtsai/python-mimeparse";
|
2018-10-28 15:29:16 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|