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