1{ lib
2, buildPythonPackage
3, fetchPypi
4, twisted
5, requests
6, cryptography
7, unittestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "txrequests";
12 version = "0.9.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1";
17 };
18
19 propagatedBuildInputs = [ twisted requests cryptography ];
20
21 # Require network access
22 doCheck = false;
23
24 nativeCheckInputs = [ unittestCheckHook ];
25
26 meta = with lib; {
27 description = "Asynchronous Python HTTP for Humans.";
28 homepage = "https://github.com/tardyp/txrequests";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ ];
31 };
32
33}