1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "dugong"; 10 version = "3.8.1"; 11 disabled = pythonOlder "3.3"; 12 13 src = fetchFromGitHub { 14 owner = "python-dugong"; 15 repo = "python-dugong"; 16 rev = "release-${version}"; 17 sha256 = "1063c1779idc5nrjzfv5w1xqvyy3crapb2a2xll9y6xphxclnkjc"; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ "dugong" ]; 25 26 meta = with lib; { 27 description = "HTTP 1.1 client designed for REST-ful APIs"; 28 homepage = "https://github.com/python-dugong/python-dugong/"; 29 license = with licenses; [ psfl asl20 ]; 30 maintainers = with maintainers; [ ]; 31 }; 32}