Merge pull request #225134 from laalsaas/sss-cli
sss-cli: init at 0.1.1
This commit is contained in:
commit
cc8f80e618
3 changed files with 50 additions and 0 deletions
27
pkgs/tools/security/sss-cli/default.nix
Normal file
27
pkgs/tools/security/sss-cli/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sss-cli";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dsprenkels";
|
||||
repo = "sss-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9Wht+t48SsWpj1z2yY6P7G+h9StmuqfMdODtyPffhak=";
|
||||
};
|
||||
|
||||
cargoPatches = [ ./fix-cargo-lock.patch ];
|
||||
|
||||
cargoHash = "sha256-nKb0J9ym3ZYC80KemwQwT5vVtQUngYD4/091hAIYAiU=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/dsprenkels/sss-cli";
|
||||
description = "Command line program for secret-sharing strings";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ laalsaas ];
|
||||
};
|
||||
}
|
21
pkgs/tools/security/sss-cli/fix-cargo-lock.patch
Normal file
21
pkgs/tools/security/sss-cli/fix-cargo-lock.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index a57c5d8..27278d9 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -1,5 +1,7 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
+version = 3
|
||||
+
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.7.15"
|
||||
@@ -253,7 +255,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "shamirsecretsharing-cli"
|
||||
-version = "0.1.0"
|
||||
+version = "0.1.1"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"clap",
|
|
@ -13596,6 +13596,8 @@ with pkgs;
|
|||
|
||||
ssocr = callPackage ../applications/misc/ssocr { };
|
||||
|
||||
sss-cli = callPackage ../tools/security/sss-cli { };
|
||||
|
||||
ssss = callPackage ../tools/security/ssss { };
|
||||
|
||||
stabber = callPackage ../misc/stabber { };
|
||||
|
|
Loading…
Reference in a new issue