mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 10:46:31 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
701 B
Nix
38 lines
701 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 = {
|
|
description = "Azure Cosmos DB API";
|
|
homepage = "https://github.com/Azure/azure-cosmos-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|