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