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