depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-containerregistry/default.nix

44 lines
1,004 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, azure-common
, azure-mgmt-core
, isodate
}:
buildPythonPackage rec {
pname = "azure-mgmt-containerregistry";
version = "10.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-i7i/5ofGxiF9/wTAPnUOaZ6FAgK3EaBqoHeSC8HuXCo=";
};
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
];
# no tests included
doCheck = false;
pythonImportsCheck = [
"azure.common"
"azure.mgmt.containerregistry"
];
meta = with lib; {
description = "Microsoft Azure Container Registry Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerregistry_${version}/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}