diff --git a/pkgs/development/python-modules/strategies/default.nix b/pkgs/development/python-modules/strategies/default.nix new file mode 100644 index 000000000000..2b03ddcf9c94 --- /dev/null +++ b/pkgs/development/python-modules/strategies/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchPypi +, multipledispatch, toolz +, pytest +}: + +buildPythonPackage rec { + pname = "strategies"; + version = "0.2.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "02i4ydrs9k61p8iv2vl2akks8p9gc88rw8031wlwb1zqsyjmb328"; + }; + + propagatedBuildInputs = [ multipledispatch toolz ]; + checkInputs = [ pytest ]; + + meta = { + description = "A Python library for control flow programming"; + homepage = "https://github.com/logpy/strategies"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ suhr ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 46de38b0bf35..163e14b7d86d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4419,6 +4419,8 @@ in { statsmodels = callPackage ../development/python-modules/statsmodels { }; + strategies = callPackage ../development/python-modules/strategies { }; + stravalib = callPackage ../development/python-modules/stravalib { }; streamz = callPackage ../development/python-modules/streamz { };