python3Packages.dugong: 3.7.5 -> 3.8.1
This commit is contained in:
parent
a143a6dd34
commit
a227fe027d
1 changed files with 25 additions and 7 deletions
|
@ -1,14 +1,32 @@
|
|||
{ buildPythonPackage, fetchPypi, pythonOlder }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dugong";
|
||||
version = "3.7.5";
|
||||
version = "3.8.1";
|
||||
disabled = pythonOlder "3.3";
|
||||
|
||||
disabled = pythonOlder "3.3"; # Library does not support versions older than 3.3
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-dugong";
|
||||
repo = "python-dugong";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1063c1779idc5nrjzfv5w1xqvyy3crapb2a2xll9y6xphxclnkjc";
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.bz2";
|
||||
sha256 = "10vjdp21m0gzm096lgl84z184s5l9iz69ppj6acgsc125037dl6h";
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue