My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/txrequests/default.nix

35 lines
694 B

{ lib
, buildPythonPackage
, fetchPypi
, twisted
, requests
, cryptography
, python
}:
buildPythonPackage rec {
pname = "txrequests";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1";
};
propagatedBuildInputs = [ twisted requests cryptography ];
# Require network access
doCheck = false;
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = with lib; {
description = "Asynchronous Python HTTP for Humans.";
homepage = "https://github.com/tardyp/txrequests";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}