diff options
author | schneefux <schneefux+commit@schneefux.xyz> | 2018-10-08 14:23:03 +0200 |
---|---|---|
committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-10-08 14:23:03 +0200 |
commit | eb5eacb0e9c1815edce856b7461abd8b58c63897 (patch) | |
tree | df8d660bba47ae32d89b79fff9c8efc005c6313f /pkgs/tools/security/nitrokey-app | |
parent | 15e23e5d92c74658a5e5ee0c2cbd6b5530319709 (diff) |
nitrokey-app: use fetchFromGitHub instead of fetchgit
Diffstat (limited to 'pkgs/tools/security/nitrokey-app')
-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 = '' |