diff --git a/pkgs/development/python-modules/msrest/default.nix b/pkgs/development/python-modules/msrest/default.nix new file mode 100644 index 000000000000..d57eb1cd1a0f --- /dev/null +++ b/pkgs/development/python-modules/msrest/default.nix @@ -0,0 +1,28 @@ +{ pkgs +, buildPythonPackage +, fetchPypi +, python +, certifi +, requests_oauthlib +, typing +, isodate +}: + +buildPythonPackage rec { + version = "0.6.2"; + pname = "msrest"; + + src = fetchPypi { + inherit pname version; + sha256 = "0icklfjaagk0j9iwq897avmqhwwmgs7c5yy5jw3ppdqz6h0sm38v"; + }; + + propagatedBuildInputs = [ certifi requests_oauthlib typing isodate ]; + + meta = with pkgs.lib; { + description = "The runtime library 'msrest' for AutoRest generated Python clients."; + homepage = "https://azure.microsoft.com/en-us/develop/python/"; + license = licenses.mit; + maintainers = with maintainers; [ bendlas ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f011fdd1236c..1157c2931c9c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -498,6 +498,8 @@ in { mpi = pkgs.openmpi; }; + msrest = callPackage ../development/python-modules/msrest { }; + multiset = callPackage ../development/python-modules/multiset { }; mwclient = callPackage ../development/python-modules/mwclient { };