mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
nitrokey-app: use fetchFromGitHub instead of fetchgit
This commit is contained in:
parent
15e23e5d92
commit
eb5eacb0e9
|
@ -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 }:
|
, qtbase, qttranslations, qtsvg }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nitrokey-app-${version}";
|
name = "nitrokey-app-${version}";
|
||||||
version = "1.3.1";
|
version = "1.3.1";
|
||||||
|
|
||||||
# We use fetchgit instead of fetchFromGitHub because of necessary git submodules
|
src = fetchFromGitHub {
|
||||||
src = fetchgit {
|
owner = "Nitrokey";
|
||||||
url = "https://github.com/Nitrokey/nitrokey-app.git";
|
repo = "nitrokey-app";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0zf2f7g5scqd5xfzvmmpvfc7d1w66rf22av0qv6s37875c61j9r9";
|
sha256 = "0zf2f7g5scqd5xfzvmmpvfc7d1w66rf22av0qv6s37875c61j9r9";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue