depot/third_party/nixpkgs/pkgs/development/python-modules/orderedmultidict/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

25 lines
656 B
Nix

{ lib, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
buildPythonPackage rec {
pname = "orderedmultidict";
version = "1.0.1";
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 ];
};
}