Skip to content

Commit 0e2724c

Browse files
committed
nitrokey-app2: install desktop file and icon
1 parent 2408c7f commit 0e2724c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkgs/tools/security/nitrokey-app2/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ python3.pkgs.buildPythonApplication rec {
4343
"nitrokeyapp"
4444
];
4545

46+
postInstall = ''
47+
install -Dm755 meta/com.nitrokey.nitrokey-app2.desktop $out/share/applications/com.nitrokey.nitrokey-app2.desktop
48+
install -Dm755 meta/nk-app2.png $out/share/icons/hicolor/128x128/apps/com.nitrokey.nitrokey-app2.png
49+
'';
50+
4651
meta = with lib; {
4752
description = "This application allows to manage Nitrokey 3 devices";
4853
homepage = "https://github.com/Nitrokey/nitrokey-app2";

0 commit comments

Comments
 (0)