mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
python3Packages.{cryptodatahub,cryptolyzer,cryptoparser}: add update script
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
8
pkgs/development/python-modules/cryptodatahub/update.sh
Executable file
8
pkgs/development/python-modules/cryptodatahub/update.sh
Executable 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
|
||||
@@ -65,6 +65,8 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
pythonImportsCheck = [ "cryptolyzer" ];
|
||||
|
||||
passthru.updateScript = ../cryptodatahub/update.sh;
|
||||
|
||||
meta = {
|
||||
description = "Cryptographic protocol analyzer";
|
||||
homepage = "https://gitlab.com/coroner/cryptolyzer";
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user