nixpkgs/pkgs/development/python-modules/azure-mgmt-datamigration/default.nix
2020-11-18 12:00:31 -08:00

42 lines
829 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy3k
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
}:
buildPythonPackage rec {
pname = "azure-mgmt-datamigration";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c33d1deb0ee173a15c8ec21a1e714ba544fe5f4895d3b1d8b0581f3c1b2e8ce4";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Data Migration Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer maxwilson ];
};
}