linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / orderedmultidict / default.nix
blob7c37cc7aa5aadfac4b3fb5873c719d4731a33935
1 { lib, buildPythonPackage, fetchPypi, flake8, six, pythonOlder, importlib-metadata }:
3 buildPythonPackage rec {
4   pname = "orderedmultidict";
5   version = "1.0.1";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4";
10   };
12   checkInputs = [ flake8 ];
14   propagatedBuildInputs = [ six ]
15     ++ lib.optionals (pythonOlder "3.8") [
16       importlib-metadata
17     ];
19   meta = with lib; {
20     description = "Ordered Multivalue Dictionary.";
21     homepage = "https://github.com/gruns/orderedmultidict";
22     license = licenses.publicDomain;
23     maintainers = with maintainers; [ vanzef ];
24   };