tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
shavee: refactor
Anderson Torres
2 years ago
257cb398
568b7188
+17
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
shavee
default.nix
+17
-9
pkgs/applications/misc/shavee/default.nix
···
1
-
{ lib, pkgs, rustPlatform, fetchFromGitHub, pkg-config, openssl, zlib,stdenv, pam }:
0
0
0
0
0
0
0
0
2
3
rustPlatform.buildRustPackage rec {
4
pname = "shavee";
···
8
owner = "ashuio";
9
repo = "shavee";
10
rev = "v${version}";
11
-
sha256 = "sha256-41wJ3QBZdmCl7v/6JetXhzH2zF7tsKYMKZY1cKhByX8=";
12
};
13
14
-
cargoSha256 = "sha256-iNGn5KknSNgazFSu6Nur7AkKVb6qKMxuFwTdCz5djWU=";
15
16
nativeBuildInputs = [
17
pkg-config
···
19
20
buildInputs = [
21
openssl
22
-
zlib
23
pam
0
24
];
25
26
# these tests require network access
···
29
"--skip=filehash::tests::get_filehash_unit_test"
30
];
31
32
-
meta = with lib; {
33
-
description = "A Program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any File on USB/SFTP/HTTPS.";
34
homepage = "https://github.com/ashuio/shavee";
35
-
license = licenses.mit;
36
-
maintainers = with maintainers; [jasonodoom];
37
-
platforms = platforms.linux;
0
38
};
39
}
···
1
+
{ lib
2
+
, stdenv
3
+
, rustPlatform
4
+
, fetchFromGitHub
5
+
, pam
6
+
, pkg-config
7
+
, openssl
8
+
, zlib
9
+
}:
10
11
rustPlatform.buildRustPackage rec {
12
pname = "shavee";
···
16
owner = "ashuio";
17
repo = "shavee";
18
rev = "v${version}";
19
+
hash = "sha256-41wJ3QBZdmCl7v/6JetXhzH2zF7tsKYMKZY1cKhByX8=";
20
};
21
22
+
cargoHash = "sha256-iNGn5KknSNgazFSu6Nur7AkKVb6qKMxuFwTdCz5djWU=";
23
24
nativeBuildInputs = [
25
pkg-config
···
27
28
buildInputs = [
29
openssl
0
30
pam
31
+
zlib
32
];
33
34
# these tests require network access
···
37
"--skip=filehash::tests::get_filehash_unit_test"
38
];
39
40
+
meta = {
0
41
homepage = "https://github.com/ashuio/shavee";
42
+
description = "A program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any File on USB/SFTP/HTTPS";
43
+
license = lib.licenses.mit;
44
+
maintainers = with lib.maintainers; [ jasonodoom ];
45
+
platforms = lib.platforms.linux;
46
};
47
}