git.iko.soy/typeable/nixpkgs
on master help sign in
nitrokey-app: use fetchFromGitHub instead of fetchgit
commiteb5eacb0e9c1815edce856b7461abd8b58c63897 authorschneefux <schneefux+commit@schneefux.xyz> dateMon 8 Oct 2018, 14:23 (8 years ago) parent15e23e5
1 file changed+5−4
pkgs/tools/security/nitrokey-app/default.nix+5−4
pkgs/tools/security/nitrokey-app/default.nix+5−4
@@ -1,15 +1,16 @@
1−{ stdenv, makeWrapper, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig
1+{ stdenv, makeWrapper, bash-completion, cmake, fetchFromGitHub, hidapi, libusb1, pkgconfig
22, qtbase, qttranslations, qtsvg }:
33
44stdenv.mkDerivation rec {
55 name = "nitrokey-app-${version}";
66 version = "1.3.1";
77
8− # We use fetchgit instead of fetchFromGitHub because of necessary git submodules
9− src = fetchgit {
10− url = "https://github.com/Nitrokey/nitrokey-app.git";
8+ src = fetchFromGitHub {
9+ owner = "Nitrokey";
10+ repo = "nitrokey-app";
1111 rev = "v${version}";
1212 sha256 = "0zf2f7g5scqd5xfzvmmpvfc7d1w66rf22av0qv6s37875c61j9r9";
13+ fetchSubmodules = true;
1314 };
1415
1516 postPatch = ''