10 python3.pkgs.buildPythonApplication rec {
11 pname = "nitrokey-app2";
15 disabled = python3.pythonOlder "3.9";
17 src = fetchFromGitHub {
19 repo = "nitrokey-app2";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-ekVf9ZuLqx7SuiD21iV5c60r7E8kk4jKoYM/T02ETrI=";
24 nativeBuildInputs = with python3.pkgs; [
29 buildInputs = [ qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [
33 propagatedBuildInputs = with python3.pkgs; [
40 pythonRelaxDeps = [ "pynitrokey" ];
42 pythonImportsCheck = [
47 description = "This application allows to manage Nitrokey 3 devices";
48 homepage = "https://github.com/Nitrokey/nitrokey-app2";
49 changelog = "https://github.com/Nitrokey/nitrokey-app2/releases/tag/v${version}";
50 license = licenses.asl20;
51 maintainers = with maintainers; [ _999eagle panicgh ];
52 mainProgram = "nitrokeyapp";