2021-07-05 19:01:10 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pythonOlder
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
2018-03-31 11:47:05 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dugong";
|
2021-07-05 19:01:10 +01:00
|
|
|
version = "3.8.1";
|
|
|
|
disabled = pythonOlder "3.3";
|
2018-03-31 11:47:05 +01:00
|
|
|
|
2021-07-05 19:01:10 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "python-dugong";
|
|
|
|
repo = "python-dugong";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1063c1779idc5nrjzfv5w1xqvyy3crapb2a2xll9y6xphxclnkjc";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dugong" ];
|
2018-03-31 11:47:05 +01:00
|
|
|
|
2021-07-05 19:01:10 +01:00
|
|
|
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; [ ];
|
2018-03-31 11:47:05 +01:00
|
|
|
};
|
|
|
|
}
|