tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
keepass-keetraytotp: init at 0.108.0
Krzysztof Nazarewski
4 years ago
a795b945
20a166d2
+42
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
keepass-plugins
keetraytotp
default.nix
top-level
all-packages.nix
+40
pkgs/applications/misc/keepass-plugins/keetraytotp/default.nix
···
1
1
+
{ lib, stdenv, buildEnv, fetchurl, mono }:
2
2
+
3
3
+
let
4
4
+
version = "0.108.0";
5
5
+
6
6
+
drv = stdenv.mkDerivation {
7
7
+
pname = "keepass-keetraytotp";
8
8
+
inherit version;
9
9
+
10
10
+
src = fetchurl {
11
11
+
url = "https://github.com/KeeTrayTOTP/KeeTrayTOTP/releases/download/v${version}/KeeTrayTOTP.plgx";
12
12
+
sha256 = "4f7251a9bbb79cad04aee96d1809c6b36d43285a9f3834fef5330fc97ae8bc09";
13
13
+
};
14
14
+
15
15
+
dontUnpack = true;
16
16
+
installPhase = ''
17
17
+
mkdir -p $out/lib/dotnet/keepass/
18
18
+
cp $src $out/lib/dotnet/keepass/
19
19
+
'';
20
20
+
21
21
+
meta = with lib; {
22
22
+
description = "Augments KeePass with TOTP user interface";
23
23
+
longDescription = ''
24
24
+
This KeePass2 plugin adds advanced support for generating Time-based One-Time Passwords (TOTPs)
25
25
+
from the KeePass tray icon. It also provides a column in the main entry list to display and/or use TOTPs.
26
26
+
TOTPs can also be sent by auto-type. The plugin is compatible with Google, Dropbox, Steam, and many more services.
27
27
+
'';
28
28
+
homepage = "https://github.com/KeeTrayTOTP/KeeTrayTOTP";
29
29
+
platforms = [
30
30
+
"aarch64-linux"
31
31
+
"i686-linux"
32
32
+
"x86_64-linux"
33
33
+
];
34
34
+
license = licenses.gpl3;
35
35
+
maintainers = with maintainers; [ nazarewk ];
36
36
+
};
37
37
+
};
38
38
+
in
39
39
+
# Mono is required to compile plugin at runtime, after loading.
40
40
+
buildEnv { name = drv.name; paths = [ mono drv ]; }
+2
pkgs/top-level/all-packages.nix
···
24886
24886
24887
24887
keepass-keepassrpc = callPackage ../applications/misc/keepass-plugins/keepassrpc { };
24888
24888
24889
24889
+
keepass-keetraytotp = callPackage ../applications/misc/keepass-plugins/keetraytotp { };
24890
24890
+
24889
24891
keepass-otpkeyprov = callPackage ../applications/misc/keepass-plugins/otpkeyprov { };
24890
24892
24891
24893
kerbrute = callPackage ../tools/security/kerbrute { };