depot/third_party/nixpkgs/pkgs/development/python-modules/txredisapi/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

28 lines
712 B
Nix

{ 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 ];
};
}