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