2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "orderedmultidict";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ flake8 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [ six ]
|
2021-02-05 17:12:51 +00:00
|
|
|
++ lib.optionals (pythonOlder "3.8") [
|
2020-06-15 15:56:04 +00:00
|
|
|
importlib-metadata
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Ordered Multivalue Dictionary.";
|
|
|
|
homepage = "https://github.com/gruns/orderedmultidict";
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ vanzef ];
|
|
|
|
};
|
|
|
|
}
|