nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 azure-common,
4 azure-mgmt-core,
5 buildPythonPackage,
6 fetchPypi,
7 isodate,
8 msrest,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-maps";
13 version = "2.1.0";
14 format = "setuptools";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-XVaml4UuVBanYYHxjB1YT/PvExzgAPbD4gI3Hbc0dI0=";
19 };
20
21 propagatedBuildInputs = [
22 isodate
23 azure-common
24 azure-mgmt-core
25 msrest
26 ];
27
28 pythonNamespaces = [ "azure.mgmt" ];
29
30 # Module has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "azure.mgmt.maps" ];
34
35 meta = {
36 description = "This is the Microsoft Azure Maps Client Library";
37 homepage = "https://github.com/Azure/azure-sdk-for-python";
38 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/v${version}/sdk/maps/azure-mgmt-maps/CHANGELOG.md";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ maxwilson ];
41 };
42}