Merge pull request #309009 from fabaff/cryptodatahub-fix
python312Packages.cryptodatahub: 0.12.2 -> 0.12.4
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptodatahub";
|
||||
version = "0.12.2";
|
||||
version = "0.12.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -25,19 +25,19 @@ buildPythonPackage rec {
|
||||
owner = "coroner";
|
||||
repo = "cryptodatahub";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zVHHBQYcl26zTtXPAs/AgKOojKQORu08rpkfY0l1zjM=";
|
||||
hash = "sha256-+IGzXYSaeZjN5AxBu7jXgrnGtrtaSveFiVeNQRBZMNg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-warn "attrs>=20.3.0,<22.0.1" "attrs>=20.3.0"
|
||||
--replace-fail "attrs>=20.3.0,<22.0.1" "attrs>=20.3.0"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
asn1crypto
|
||||
attrs
|
||||
pathlib2
|
||||
|
||||
@@ -1,36 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, attrs
|
||||
, asn1crypto
|
||||
, cryptodatahub
|
||||
, python-dateutil
|
||||
, urllib3
|
||||
, pytestCheckHook
|
||||
{
|
||||
lib,
|
||||
asn1crypto,
|
||||
attrs,
|
||||
buildPythonPackage,
|
||||
cryptodatahub,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
unittestCheckHook,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cryptoparser";
|
||||
version = "0.12.3";
|
||||
version = "0.12.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "CryptoParser";
|
||||
inherit version;
|
||||
hash = "sha256-1A0VEpUPsYtEu2aT+ldt/Z/PtV8lvD+9jSx75yGB6Ao=";
|
||||
inherit pname version;
|
||||
hash = "sha256-y5rpc0tn5JJQr4xdRUJbsq8XT/YqqJqZr3CXjqN7k7I=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-warn "attrs>=20.3.0,<22.0.1" "attrs>=20.3.0"
|
||||
--replace-fail "attrs>=20.3.0,<22.0.1" "attrs>=20.3.0"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
asn1crypto
|
||||
attrs
|
||||
cryptodatahub
|
||||
@@ -38,9 +40,7 @@ buildPythonPackage rec {
|
||||
urllib3
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cryptoparser"
|
||||
];
|
||||
pythonImportsCheck = [ "cryptoparser" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Security protocol parser and generator";
|
||||
|
||||
Reference in New Issue
Block a user