mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
neopg: use fetchFromGitHub instead of fetchgit
This commit is contained in:
parent
953f495e8b
commit
15e23e5d92
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user