python3Packages.cryptoparser: 1.0.2 -> 1.1.0
use finalAttrs move to pytestCheckHook Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
committed by
Weijia Wang
parent
34b030e61c
commit
a01da3a1aa
@@ -9,20 +9,20 @@
|
||||
pyfakefs,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
unittestCheckHook,
|
||||
pytestCheckHook,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cryptoparser";
|
||||
version = "1.0.2";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "coroner";
|
||||
repo = "cryptoparser";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CsG4hfA3pfE7FwxNfaUTLMS8RV0tv1czoHdIlolUX34=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Zd305BFM3G8LMQqDwtbwRPy6ooNXJ61UzWBwVewh0F4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -48,7 +48,12 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pyfakefs
|
||||
unittestCheckHook
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# pytest incorrectly collects abstract base classes
|
||||
"TestCasesBasesHttpHeader"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
@@ -60,9 +65,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Security protocol parser and generator";
|
||||
homepage = "https://gitlab.com/coroner/cryptoparser";
|
||||
changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/${src.tag}/CHANGELOG.md";
|
||||
changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = [ ];
|
||||
teams = with lib.teams; [ ngi ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user