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

38 lines
865 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dugong";
version = "3.8.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "python-dugong";
repo = "python-dugong";
rev = "release-${version}";
sha256 = "1063c1779idc5nrjzfv5w1xqvyy3crapb2a2xll9y6xphxclnkjc";
};
nativeCheckInputs = [ pytestCheckHook ];
# Lots of tests hang during teardown with:
# ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2396)
doCheck = pythonOlder "3.10";
pythonImportsCheck = [ "dugong" ];
meta = with lib; {
description = "HTTP 1.1 client designed for REST-ful APIs";
homepage = "https://github.com/python-dugong/python-dugong/";
license = with licenses; [
psfl
asl20
];
maintainers = with maintainers; [ ];
};
}