11 python3.pkgs.buildPythonApplication rec {
12 pname = "nitrokey-app2";
16 disabled = python3.pythonOlder "3.9";
18 src = fetchFromGitHub {
20 repo = "nitrokey-app2";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-ekVf9ZuLqx7SuiD21iV5c60r7E8kk4jKoYM/T02ETrI=";
25 nativeBuildInputs = with python3.pkgs; [
30 buildInputs = [ qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [
34 propagatedBuildInputs = with python3.pkgs; [
41 pythonRelaxDeps = [ "pynitrokey" ];
43 pythonImportsCheck = [
48 install -Dm755 meta/com.nitrokey.nitrokey-app2.desktop $out/share/applications/com.nitrokey.nitrokey-app2.desktop
49 install -Dm755 meta/nk-app2.png $out/share/icons/hicolor/128x128/apps/com.nitrokey.nitrokey-app2.png
53 description = "This application allows to manage Nitrokey 3 devices";
54 homepage = "https://github.com/Nitrokey/nitrokey-app2";
55 changelog = "https://github.com/Nitrokey/nitrokey-app2/releases/tag/v${version}";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ _999eagle panicgh ];
58 mainProgram = "nitrokeyapp";