diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix new file mode 100644 index 00000000000..8c91579d241 --- /dev/null +++ b/pkgs/development/python-modules/rq/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchPypi, buildPythonPackage, click, redis }: + +buildPythonPackage rec { + pname = "rq"; + version = "1.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1fs03g1n1l8k03zwhkhckhsrnnsm3645sqby2nwh5gfij2kcc9sg"; + }; + + # test require a running redis rerver, which is something we can't do yet + doCheck = false; + + propagatedBuildInputs = [ click redis ]; + + meta = with stdenv.lib; { + description = "A simple, lightweight library for creating background jobs, and processing them"; + homepage = "https://github.com/nvie/rq/"; + maintainers = with maintainers; [ mrmebelman ]; + license = licenses.bsd2; + }; +} + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eaee38ceaeb..ae6e55755e8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -935,6 +935,8 @@ in { rlp = callPackage ../development/python-modules/rlp { }; + rq = callPackage ../development/python-modules/rq { }; + rx = callPackage ../development/python-modules/rx { }; sabyenc = callPackage ../development/python-modules/sabyenc { };