depot/third_party/nixpkgs/pkgs/development/python-modules/orderedmultidict/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

25 lines
667 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
buildPythonPackage rec {
pname = "orderedmultidict";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
};
checkInputs = [ flake8 ];
propagatedBuildInputs = [ six ]
++ stdenv.lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
meta = with stdenv.lib; {
description = "Ordered Multivalue Dictionary.";
homepage = "https://github.com/gruns/orderedmultidict";
license = licenses.publicDomain;
maintainers = with maintainers; [ vanzef ];
};
}