@@ -1,29 +1,27 @@
1−{ stdenv, cmake, fetchFromGitHub, libusb1, pkgconfig, qt5 }:
1+{ stdenv, cmake, fetchgit, hidapi, libusb1, pkgconfig, qt5 }:
22
33stdenv.mkDerivation rec {
44 name = "nitrokey-app";
5− version = "0.6.3";
5+ version = "1.1";
66
7− src = fetchFromGitHub {
8− owner = "Nitrokey";
9− repo = "nitrokey-app";
10− rev = "v${version}";
11− sha256 = "1l5l4lwxmyd3jrafw19g12sfc42nd43sv7h7i4krqxnkk6gfx11q";
7+ src = fetchgit {
8+ url = "https://github.com/Nitrokey/nitrokey-app.git";
9+ rev = "refs/tags/v${version}";
10+ sha256 = "11pz1p5qgghkr5f8s2wg34zqhxk2vq465i73w1h479j88x35rdp0";
1211 };
1312
1413 buildInputs = [
14+ hidapi
1515 libusb1
1616 qt5.qtbase
17+ qt5.qttranslations
1718 ];
1819 nativeBuildInputs = [
1920 cmake
2021 pkgconfig
2122 ];
22− patches = [
23− ./FixInstallDestination.patch
24− ./HeaderPath.patch
25− ];
2623 cmakeFlags = "-DHAVE_LIBAPPINDICATOR=NO";
24+
2725 meta = with stdenv.lib; {
2826 description = "Provides extra functionality for the Nitrokey Pro and Storage";
2927 longDescription = ''
@@ -34,6 +32,6 @@ stdenv.mkDerivation rec {
3432 homepage = https://github.com/Nitrokey/nitrokey-app;
3533 repositories.git = https://github.com/Nitrokey/nitrokey-app.git;
3634 license = licenses.gpl3;
37− maintainer = maintainers.kaiha;
35+ maintainers = with maintainers; [ kaiha fpletz ];
3836 };
3937}