python3Packages.{cryptodatahub,cryptolyzer,cryptoparser}: add update script

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij
2026-08-18 12:31:12 +05:30
parent 005d36e620
commit 03388b1ed4
4 changed files with 14 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ buildPythonPackage (finalAttrs: {
"test/common/test_utils.py"
];
passthru.updateScript = ./update.sh;
meta = {
description = "Repository of cryptography-related data";
homepage = "https://gitlab.com/coroner/cryptodatahub";

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update
set -euox pipefail
nix-update python3Packages.cryptodatahub
nix-update python3Packages.cryptoparser
nix-update python3Packages.cryptolyzer

View File

@@ -65,6 +65,8 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "cryptolyzer" ];
passthru.updateScript = ../cryptodatahub/update.sh;
meta = {
description = "Cryptographic protocol analyzer";
homepage = "https://gitlab.com/coroner/cryptolyzer";

View File

@@ -62,6 +62,8 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "cryptoparser" ];
passthru.updateScript = ../cryptodatahub/update.sh;
meta = {
description = "Security protocol parser and generator";
homepage = "https://gitlab.com/coroner/cryptoparser";