diff --git a/pkgs/development/python-modules/orderedmultidict/default.nix b/pkgs/development/python-modules/orderedmultidict/default.nix new file mode 100644 index 000000000000..f144c43da06f --- /dev/null +++ b/pkgs/development/python-modules/orderedmultidict/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi, flake8, six }: + +buildPythonPackage rec { + pname = "orderedmultidict"; + version = "1.0.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "1bc2v0yflsxjyyjx4q9wqx0j3bvzcw9z87d5pz4iqac7bsxhn1q4"; + }; + + checkInputs = [ flake8 ]; + + propagatedBuildInputs = [ six ]; + + meta = with stdenv.lib; { + description = "Ordered Multivalue Dictionary."; + homepage = https://github.com/gruns/orderedmultidict; + license = licenses.publicDomain; + maintainers = with maintainers; [ vanzef ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 975df9f16b9a..319d59212a50 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -921,6 +921,8 @@ in { ordered-set = callPackage ../development/python-modules/ordered-set { }; + orderedmultidict = callPackage ../development/python-modules/orderedmultidict { }; + ortools = (toPythonModule (pkgs.or-tools.override { inherit (self) python; pythonProtobuf = self.protobuf;