jql: 8.0.0 -> 8.0.2 (#362884)
[NixPkgs.git] / pkgs / tools / security / nitrokey-app / default.nix
blob5739ffd33ab07745674a357ca97b387e38a6db8b
2   lib,
3   stdenv,
4   cmake,
5   fetchFromGitHub,
6   pkg-config,
7   wrapQtAppsHook,
8   libnitrokey,
9   cppcodec,
10   qttools,
13 stdenv.mkDerivation rec {
14   pname = "nitrokey-app";
15   version = "1.4.2";
17   src = fetchFromGitHub {
18     owner = "Nitrokey";
19     repo = "nitrokey-app";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-c6EC5uuMna07xVHDRFq0UDwuSeopZTmZGZ9ZD5zaq8Y=";
22   };
24   nativeBuildInputs = [
25     cmake
26     pkg-config
27     wrapQtAppsHook
28     qttools
29   ];
31   cmakeFlags = [
32     "-DADD_GIT_INFO=OFF"
33     "-DBASH_COMPLETION_PATH=share/bash-completion/completions"
34   ];
36   buildInputs = [
37     libnitrokey
38     cppcodec
39   ];
41   meta = with lib; {
42     description = "Provides extra functionality for the Nitrokey Pro and Storage";
43     mainProgram = "nitrokey-app";
44     longDescription = ''
45       The nitrokey-app provides a QT system tray widget with which you can
46       access the extra functionality of a Nitrokey Storage or Nitrokey Pro.
47       See https://www.nitrokey.com/ for more information.
48     '';
49     homepage = "https://github.com/Nitrokey/nitrokey-app";
50     changelog = "https://github.com/Nitrokey/nitrokey-app/releases/tag/v${version}";
51     license = licenses.gpl3Plus;
52     maintainers = with maintainers; [
53       kaiha
54       panicgh
55     ];
56   };