Merge pull request #129036 from fabaff/bump-dugong

python3Packages.dugong: 3.7.5 -> 3.8.1
This commit is contained in:
Fabian Affolter 2021-07-05 22:50:40 +02:00 committed by GitHub
commit 6160e33466
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; [ ];
};
}