pythonPackages.azure-nspkg: refactor move to python-modules
This commit is contained in:
parent
3b49976b8a
commit
1675213fac
3 changed files with 51 additions and 32 deletions
25
pkgs/development/python-modules/azure-mgmt-nspkg/default.nix
Normal file
25
pkgs/development/python-modules/azure-mgmt-nspkg/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, azure-nspkg
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
pname = "azure-mgmt-nspkg";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "1rq92fj3kvnqkk18596dybw0kvhgscvc6cd8hp1dhy3wrkqnhwmq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-nspkg ];
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
}
|
22
pkgs/development/python-modules/azure-nspkg/default.nix
Normal file
22
pkgs/development/python-modules/azure-nspkg/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ pkgs
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
pname = "azure-nspkg";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "293f286c15ea123761f30f5b1cb5adebe5f1e5009efade923c6dd1e017621bf7";
|
||||
};
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
}
|
|
@ -218,6 +218,8 @@ in {
|
|||
|
||||
azure = callPackage ../development/python-modules/azure { };
|
||||
|
||||
azure-nspkg = callPackage ../development/python-modules/azure-nspkg { };
|
||||
|
||||
azure-common = callPackage ../development/python-modules/azure-common { };
|
||||
|
||||
azure-mgmt-common = callPackage ../development/python-modules/azure-mgmt-common { };
|
||||
|
@ -226,6 +228,8 @@ in {
|
|||
|
||||
azure-mgmt-network = callPackage ../development/python-modules/azure-mgmt-network { };
|
||||
|
||||
azure-mgmt-nspkg = callPackage ../development/python-modules/azure-mgmt-nspkg { };
|
||||
|
||||
backports_csv = callPackage ../development/python-modules/backports_csv {};
|
||||
|
||||
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which {};
|
||||
|
@ -777,38 +781,6 @@ in {
|
|||
|
||||
noise = callPackage ../development/python-modules/noise {};
|
||||
|
||||
|
||||
azure-nspkg = buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
name = "azure-nspkg-${version}";
|
||||
src = pkgs.fetchurl {
|
||||
url = mirror://pypi/a/azure-nspkg/azure-nspkg-1.0.0.zip;
|
||||
sha256 = "1xqvc8by1lbd7j9dxyly03jz3rgbmnsiqnqgydhkf4pa2mn2hgr9";
|
||||
};
|
||||
meta = {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
};
|
||||
|
||||
azure-mgmt-nspkg = buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
name = "azure-mgmt-nspkg-${version}";
|
||||
src = pkgs.fetchurl {
|
||||
url = mirror://pypi/a/azure-mgmt-nspkg/azure-mgmt-nspkg-1.0.0.zip;
|
||||
sha256 = "1rq92fj3kvnqkk18596dybw0kvhgscvc6cd8hp1dhy3wrkqnhwmq";
|
||||
};
|
||||
propagatedBuildInputs = with self; [ azure-nspkg ];
|
||||
meta = {
|
||||
description = "Microsoft Azure SDK for Python";
|
||||
homepage = "https://azure.microsoft.com/en-us/develop/python/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olcai ];
|
||||
};
|
||||
};
|
||||
|
||||
azure-mgmt-resource = buildPythonPackage rec {
|
||||
version = "0.20.1";
|
||||
name = "azure-mgmt-resource-${version}";
|
||||
|
|
Loading…
Reference in a new issue