diff options
-rw-r--r-- | pkgs/tools/security/nitrokey-app/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/security/nitrokey-app/default.nix b/pkgs/tools/security/nitrokey-app/default.nix index 67e388d5728bb..2c5b733964efe 100644 --- a/pkgs/tools/security/nitrokey-app/default.nix +++ b/pkgs/tools/security/nitrokey-app/default.nix @@ -1,15 +1,16 @@ -{ stdenv, makeWrapper, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig +{ stdenv, makeWrapper, bash-completion, cmake, fetchFromGitHub, hidapi, libusb1, pkgconfig , qtbase, qttranslations, qtsvg }: stdenv.mkDerivation rec { name = "nitrokey-app-${version}"; version = "1.3.1"; - # We use fetchgit instead of fetchFromGitHub because of necessary git submodules - src = fetchgit { - url = "https://github.com/Nitrokey/nitrokey-app.git"; + src = fetchFromGitHub { + owner = "Nitrokey"; + repo = "nitrokey-app"; rev = "v${version}"; sha256 = "0zf2f7g5scqd5xfzvmmpvfc7d1w66rf22av0qv6s37875c61j9r9"; + fetchSubmodules = true; }; postPatch = '' |