summary refs log tree commit diff
path: root/pkgs/development/python-modules/txredisapi/default.nix
blob: 9d8b268b30b28fd07ea70209cc9b590b5576463e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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" ];

  passthru.tests.unit-tests = nixosTests.txredisapi;

  meta = with lib; {
    homepage = "https://github.com/IlyaSkriblovsky/txredisapi";
    description = "non-blocking redis client for python";
    license = licenses.asl20;
    maintainers = with maintainers; [ dandellion ];
  };
}