Merge pull request #198430 from fabaff/pg8000-bump
python310Packages.scramp: 1.4.1 -> 1.4.3, python310Packages.pg8000: 1.29.2 -> 1.29.3
This commit is contained in:
commit
bad55a5d45
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pg8000";
|
||||
version = "1.29.2";
|
||||
version = "1.29.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-23XCGqCqLm95qVK3GoKaJ17KLi5WUnVpZtpZ192dbyQ=";
|
||||
hash = "sha256-yMlU08htf79ZG8g7ANbs4on64XbIM1oYKnVwaZ2iv9w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -2,26 +2,35 @@
|
||||
, asn1crypto
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scramp";
|
||||
version = "1.4.1";
|
||||
version = "1.4.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tlocke";
|
||||
repo = "scramp";
|
||||
rev = version;
|
||||
sha256 = "sha256-HEt2QxNHX9Oqx+o0++ZtS61SVHra3nLAqv7NbQWVV+E=";
|
||||
hash = "sha256-BKZam2zLS/SK6rqiUkoeFpQ0bO4pU8CKVNhOM1fv10Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asn1crypto
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
@ -29,7 +38,19 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "scramp" ];
|
||||
postPatch = ''
|
||||
# Upstream uses versioningit to set the version
|
||||
sed -i '/^name =.*/a version = "${version}"' pyproject.toml
|
||||
sed -i "/dynamic =/d" pyproject.toml
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"scramp"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_readme"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implementation of the SCRAM authentication protocol";
|
||||
|
Loading…
Reference in New Issue
Block a user