1{ lib, buildPythonPackage, fetchFromGitHub, nixosTests, six, twisted }: 2 3buildPythonPackage rec { 4 pname = "txredisapi"; 5 version = "1.4.7"; 6 7 src = fetchFromGitHub { 8 owner = "IlyaSkriblovsky"; 9 repo = "txredisapi"; 10 rev = "1.4.7"; 11 sha256 = "1f7j3c5l7jcfphvsk7nqmgyb4jaydbzq081m555kw0f9xxak0pgq"; 12 }; 13 14 propagatedBuildInputs = [ six twisted ]; 15 16 doCheck = false; 17 pythonImportsCheck = [ "txredisapi" ]; 18 19 passthru.tests.unit-tests = nixosTests.txredisapi; 20 21 meta = with lib; { 22 homepage = "https://github.com/IlyaSkriblovsky/txredisapi"; 23 description = "non-blocking redis client for python"; 24 license = licenses.asl20; 25 maintainers = with maintainers; [ dandellion ]; 26 }; 27} 28