depot/third_party/nixpkgs/pkgs/development/python-modules/txrequests/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

33 lines
673 B
Nix

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