mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 08:38:18 +03:00
02dab4ab5c
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
35 lines
718 B
Nix
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 ];
|
|
};
|
|
}
|