depot/third_party/nixpkgs/pkgs/development/python-modules/txrequests/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
700 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
twisted,
requests,
cryptography,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "txrequests";
version = "0.9.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b452a1cafa4d005678f6fa47922a330feb4907d5b4732d1841ca98e89f1362e1";
};
propagatedBuildInputs = [
twisted
requests
cryptography
];
# Require network access
doCheck = false;
nativeCheckInputs = [ unittestCheckHook ];
meta = with lib; {
description = "Asynchronous Python HTTP for Humans";
homepage = "https://github.com/tardyp/txrequests";
license = licenses.asl20;
maintainers = [ ];
};
}