tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
keepass-qrcodeview: init at 1.0.4
Krzysztof Nazarewski
4 years ago
0e0b0835
a795b945
+41
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
keepass-plugins
qrcodeview
default.nix
top-level
all-packages.nix
+39
pkgs/applications/misc/keepass-plugins/qrcodeview/default.nix
···
1
1
+
{ lib, stdenv, buildEnv, fetchurl, mono }:
2
2
+
3
3
+
let
4
4
+
version = "1.0.4";
5
5
+
6
6
+
drv = stdenv.mkDerivation {
7
7
+
pname = "keepass-qrcodeview";
8
8
+
inherit version;
9
9
+
10
10
+
src = fetchurl {
11
11
+
url = "https://github.com/JanisEst/KeePassQRCodeView/releases/download/v${version}/KeePassQRCodeView.plgx";
12
12
+
sha256 = "e13c9f02bb0d79b479ca0e92490b822b5b88f49bb18ba2954d3bbe0808f46e6d";
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 = "Enables KeePass to display data as QR code images";
23
23
+
longDescription = ''
24
24
+
KeePassQRCodeView is a plugin for KeePass 2.x which shows QR codes for entry fields.
25
25
+
These codes can be scanned to copy the encoded data to the scanner (smartphone, ...)
26
26
+
'';
27
27
+
homepage = "https://github.com/JanisEst/KeePassQRCodeView";
28
28
+
platforms = [
29
29
+
"aarch64-linux"
30
30
+
"i686-linux"
31
31
+
"x86_64-linux"
32
32
+
];
33
33
+
license = licenses.mit;
34
34
+
maintainers = with maintainers; [ nazarewk ];
35
35
+
};
36
36
+
};
37
37
+
in
38
38
+
# Mono is required to compile plugin at runtime, after loading.
39
39
+
buildEnv { name = drv.name; paths = [ mono drv ]; }
+2
pkgs/top-level/all-packages.nix
···
24890
24890
24891
24891
keepass-otpkeyprov = callPackage ../applications/misc/keepass-plugins/otpkeyprov { };
24892
24892
24893
24893
+
keepass-qrcodeview = callPackage ../applications/misc/keepass-plugins/qrcodeview { };
24894
24894
+
24893
24895
kerbrute = callPackage ../tools/security/kerbrute { };
24894
24896
24895
24897
exrdisplay = callPackage ../applications/graphics/exrdisplay { };