tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.azure-containerregistry: init at 1.0.0
Peter Romfeld
3 years ago
4faa91c0
0b29a7d6
+34
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
azure-containerregistry
default.nix
top-level
python-packages.nix
+32
pkgs/development/python-modules/azure-containerregistry/default.nix
···
1
1
+
{ lib, buildPythonPackage, fetchPypi, pythonOlder
2
2
+
, azure-core
3
3
+
, msrest
4
4
+
, msrestazure
5
5
+
}:
6
6
+
7
7
+
buildPythonPackage rec {
8
8
+
pname = "azure-containerregistry";
9
9
+
version = "1.0.0";
10
10
+
disabled = pythonOlder "3.6";
11
11
+
12
12
+
src = fetchPypi {
13
13
+
inherit pname version;
14
14
+
sha256 = "sha256-DIZCHZM5aeKtmJrgwAk5J26ltaxNxKUn3rR+FbmuyZc=";
15
15
+
extension = "zip";
16
16
+
};
17
17
+
18
18
+
propagatedBuildInputs = [ azure-core msrest msrestazure ];
19
19
+
20
20
+
# tests require azure-devtools which are not published (since 2020)
21
21
+
# https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt
22
22
+
doCheck = false;
23
23
+
24
24
+
pythonImportsCheck = [ "azure.core" "azure.containerregistry" ];
25
25
+
26
26
+
meta = with lib; {
27
27
+
description = "Microsoft Azure Container Registry client library for Python";
28
28
+
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry";
29
29
+
license = licenses.mit;
30
30
+
maintainers = with maintainers; [ peterromfeldhk ];
31
31
+
};
32
32
+
}
+2
pkgs/top-level/python-packages.nix
···
852
852
853
853
azure-common = callPackage ../development/python-modules/azure-common { };
854
854
855
855
+
azure-containerregistry = callPackage ../development/python-modules/azure-containerregistry { };
856
856
+
855
857
azure-core = callPackage ../development/python-modules/azure-core { };
856
858
857
859
azure-cosmos = callPackage ../development/python-modules/azure-cosmos { };