504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
26 lines
681 B
Nix
26 lines
681 B
Nix
{ lib, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "orderedmultidict";
|
|
version = "1.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
|
|
};
|
|
|
|
nativeCheckInputs = [ flake8 ];
|
|
|
|
propagatedBuildInputs = [ six ]
|
|
++ lib.optionals (pythonOlder "3.8") [
|
|
importlib-metadata
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ordered Multivalue Dictionary.";
|
|
homepage = "https://github.com/gruns/orderedmultidict";
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ vanzef ];
|
|
};
|
|
}
|