diff --git a/pkgs/development/python-modules/itsdangerous/1.nix b/pkgs/development/python-modules/itsdangerous/1.nix new file mode 100644 index 000000000000..d1669a1ed5bf --- /dev/null +++ b/pkgs/development/python-modules/itsdangerous/1.nix @@ -0,0 +1,21 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "itsdangerous"; + version = "1.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19"; + }; + + meta = with lib; { + description = "Helpers to pass trusted data to untrusted environments and back"; + homepage = "https://pypi.python.org/pypi/itsdangerous/"; + license = licenses.bsd0; + }; + +} diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index 5d6022bfd1af..8b4a752e875a 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -188,6 +188,8 @@ with self; with super; { isort = callPackage ../development/python-modules/isort/4.nix { }; + itsdangerous = callPackage ../development/python-modules/itsdangerous/1.nix { }; + jaraco_functools = callPackage ../development/python-modules/jaraco_functools/2.nix { }; jaraco_stream = callPackage ../development/python-modules/jaraco_stream/2.nix { };