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 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-redhatopenshift";
13 version = "3.0.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "azure_mgmt_redhatopenshift";
18 inherit version;
19 hash = "sha256-R3XJvfNjI4g02hReX1n5doOrBPjdvSUN5F1F4zeYMn8=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 isodate
26 azure-common
27 azure-mgmt-core
28 ];
29
30 pythonNamespaces = "azure.mgmt";
31
32 # Module has no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
36
37 meta = {
38 description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
39 homepage = "https://github.com/Azure/azure-sdk-for-python";
40 license = lib.licenses.mit;
41 maintainers = [ ];
42 };
43}