diff --git a/pkgs/development/python-modules/effect/default.nix b/pkgs/development/python-modules/effect/default.nix new file mode 100644 index 000000000000..d5fdf2d3f85d --- /dev/null +++ b/pkgs/development/python-modules/effect/default.nix @@ -0,0 +1,29 @@ +{ buildPythonPackage +, fetchPypi +, lib +, attrs +, six +}: +let + +version = "0.11.0"; +pname = "effect"; + +in +buildPythonPackage { + inherit version pname; + src = fetchPypi { + inherit pname version; + sha256 = "1q75w4magkqd8ggabhhzzxmxakpdnn0vdg7ygj89zdc9yl7561q6"; + }; + propagatedBuildInputs = [ + six + attrs + ]; + doCheck = false; + meta = with lib; { + description = "pure effects for Python"; + homepage = https://github.com/python-effect/effect; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7868f7d7ff06..c086c14e303e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5180,6 +5180,7 @@ in { }; }; + effect = callPackage ../development/python-modules/effect {}; elpy = buildPythonPackage rec { name = "elpy-${version}";