nixpkgs/pkgs/development/python-modules/pydocumentdb/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

35 lines
718 B
Nix

{ buildPythonPackage
, lib
, fetchPypi
, six
, requests
}:
buildPythonPackage rec {
version = "2.3.5";
format = "setuptools";
pname = "pydocumentdb";
src = fetchPypi {
inherit pname version;
sha256 = "1e6f072ae516fc061c9442f8ca470463b53dc626f0f6a86ff3a803293f4b50dd";
};
# https://github.com/Azure/azure-cosmos-python/issues/183
preBuild = ''
touch changelog.md
'';
propagatedBuildInputs = [ six requests ];
# requires an active Azure Cosmos service
doCheck = false;
meta = with lib; {
description = "Azure Cosmos DB API";
homepage = "https://github.com/Azure/azure-cosmos-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}