neopg: use fetchFromGitHub instead of fetchgit

This commit is contained in:
schneefux 2018-10-08 14:04:21 +02:00
parent 953f495e8b
commit 15e23e5d92

View File

@ -1,5 +1,5 @@
{ stdenv { stdenv
, fetchgit , fetchFromGitHub
, cmake , cmake
, sqlite , sqlite
, botan2 , botan2
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
name = "neopg-${version}"; name = "neopg-${version}";
version = "0.0.4"; version = "0.0.4";
# no fetchFromGitHub, as repo contains submodules src = fetchFromGitHub {
src = fetchgit { owner = "das-labor";
url = "https://github.com/das-labor/neopg.git"; repo = "neopg";
rev = "v${version}"; rev = "v${version}";
sha256 = "0hhkl326ff6f76k8pwggpzmivbm13fz497nlyy6ybn5bmi9xfblm"; sha256 = "0hhkl326ff6f76k8pwggpzmivbm13fz497nlyy6ybn5bmi9xfblm";
fetchSubmodules = true;
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];