2020-06-08 20:44:21 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
|
2019-08-12 14:04:38 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "orderedmultidict";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ flake8 ];
|
|
|
|
|
2020-06-08 20:44:21 +01:00
|
|
|
propagatedBuildInputs = [ six ]
|
|
|
|
++ stdenv.lib.optionals (pythonOlder "3.8") [
|
|
|
|
importlib-metadata
|
|
|
|
];
|
2019-08-12 14:04:38 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Ordered Multivalue Dictionary.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/gruns/orderedmultidict";
|
2019-08-12 14:04:38 +01:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ vanzef ];
|
|
|
|
};
|
|
|
|
}
|