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
1
-
{ lib, pkgs, rustPlatform, fetchFromGitHub, pkg-config, openssl, zlib,stdenv, pam }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, rustPlatform
4
4
+
, fetchFromGitHub
5
5
+
, pam
6
6
+
, pkg-config
7
7
+
, openssl
8
8
+
, zlib
9
9
+
}:
2
10
3
11
rustPlatform.buildRustPackage rec {
4
12
pname = "shavee";
···
8
16
owner = "ashuio";
9
17
repo = "shavee";
10
18
rev = "v${version}";
11
11
-
sha256 = "sha256-41wJ3QBZdmCl7v/6JetXhzH2zF7tsKYMKZY1cKhByX8=";
19
19
+
hash = "sha256-41wJ3QBZdmCl7v/6JetXhzH2zF7tsKYMKZY1cKhByX8=";
12
20
};
13
21
14
14
-
cargoSha256 = "sha256-iNGn5KknSNgazFSu6Nur7AkKVb6qKMxuFwTdCz5djWU=";
22
22
+
cargoHash = "sha256-iNGn5KknSNgazFSu6Nur7AkKVb6qKMxuFwTdCz5djWU=";
15
23
16
24
nativeBuildInputs = [
17
25
pkg-config
···
19
27
20
28
buildInputs = [
21
29
openssl
22
22
-
zlib
23
30
pam
31
31
+
zlib
24
32
];
25
33
26
34
# these tests require network access
···
29
37
"--skip=filehash::tests::get_filehash_unit_test"
30
38
];
31
39
32
32
-
meta = with lib; {
33
33
-
description = "A Program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any File on USB/SFTP/HTTPS.";
40
40
+
meta = {
34
41
homepage = "https://github.com/ashuio/shavee";
35
35
-
license = licenses.mit;
36
36
-
maintainers = with maintainers; [jasonodoom];
37
37
-
platforms = platforms.linux;
42
42
+
description = "A program to automatically decrypt and mount ZFS datasets using Yubikey HMAC as 2FA or any File on USB/SFTP/HTTPS";
43
43
+
license = lib.licenses.mit;
44
44
+
maintainers = with lib.maintainers; [ jasonodoom ];
45
45
+
platforms = lib.platforms.linux;
38
46
};
39
47
}