1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "sss-cli";
9 version = "0.1.1";
10
11 src = fetchFromGitHub {
12 owner = "dsprenkels";
13 repo = "sss-cli";
14 rev = "v${version}";
15 hash = "sha256-9Wht+t48SsWpj1z2yY6P7G+h9StmuqfMdODtyPffhak=";
16 };
17
18 cargoPatches = [ ./fix-cargo-lock.patch ];
19
20 cargoHash = "sha256-yutjlaqLf8R8KmdeKF+CHz/s/b6T+GB9bOl2liMBmMQ=";
21
22 meta = with lib; {
23 homepage = "https://github.com/dsprenkels/sss-cli";
24 description = "Command line program for secret-sharing strings";
25 license = licenses.mit;
26 maintainers = with maintainers; [ laalsaas ];
27 };
28}