Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, cmake 4, fetchFromGitHub 5, pkg-config 6, qttranslations 7, wrapQtAppsHook 8, libnitrokey 9, cppcodec 10}: 11 12stdenv.mkDerivation rec { 13 pname = "nitrokey-app"; 14 version = "1.4.2"; 15 16 src = fetchFromGitHub { 17 owner = "Nitrokey"; 18 repo = "nitrokey-app"; 19 rev = "v${version}"; 20 hash = "sha256-c6EC5uuMna07xVHDRFq0UDwuSeopZTmZGZ9ZD5zaq8Y="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 pkg-config 26 wrapQtAppsHook 27 qttranslations 28 ]; 29 30 cmakeFlags = [ 31 "-DADD_GIT_INFO=OFF" 32 "-DBASH_COMPLETION_PATH=share/bash-completion/completions" 33 ]; 34 35 buildInputs = [ 36 libnitrokey 37 cppcodec 38 ]; 39 40 meta = with lib; { 41 description = "Provides extra functionality for the Nitrokey Pro and Storage"; 42 longDescription = '' 43 The nitrokey-app provides a QT system tray widget with which you can 44 access the extra functionality of a Nitrokey Storage or Nitrokey Pro. 45 See https://www.nitrokey.com/ for more information. 46 ''; 47 homepage = "https://github.com/Nitrokey/nitrokey-app"; 48 license = licenses.gpl3; 49 maintainers = with maintainers; [ kaiha panicgh ]; 50 }; 51}