From 6d90bc1c110dc4bb06d253210be51ea97633fac9 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Thu, 24 Jun 2021 23:30:36 +0200 Subject: [PATCH] pythonPackages.txredisapi: init at 1.4.7 --- .../python-modules/txredisapi/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/txredisapi/default.nix diff --git a/pkgs/development/python-modules/txredisapi/default.nix b/pkgs/development/python-modules/txredisapi/default.nix new file mode 100644 index 000000000000..00da16c040fe --- /dev/null +++ b/pkgs/development/python-modules/txredisapi/default.nix @@ -0,0 +1,26 @@ +{ lib, buildPythonPackage, fetchFromGitHub, nixosTests, six, twisted }: + +buildPythonPackage rec { + pname = "txredisapi"; + version = "1.4.7"; + + src = fetchFromGitHub { + owner = "IlyaSkriblovsky"; + repo = "txredisapi"; + rev = "1.4.7"; + sha256 = "1f7j3c5l7jcfphvsk7nqmgyb4jaydbzq081m555kw0f9xxak0pgq"; + }; + + propagatedBuildInputs = [ six twisted ]; + + doCheck = false; + pythonImportsCheck = [ "txredisapi" ]; + + meta = with lib; { + homepage = "https://github.com/IlyaSkriblovsky/txredisapi"; + description = "non-blocking redis client for python"; + license = licenses.asl20; + maintainers = with maintainers; [ dandellion ]; + }; +} + diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 78cc347ad715..565c2b7898b1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8699,6 +8699,8 @@ in { txgithub = callPackage ../development/python-modules/txgithub { }; + txredisapi = callPackage ../development/python-modules/txredisapi { }; + txrequests = callPackage ../development/python-modules/txrequests { }; txtorcon = callPackage ../development/python-modules/txtorcon { };