depot/third_party/nixpkgs/pkgs/development/python-modules/txrequests/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
719 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 = with maintainers; [ ];
};
}