Merge pull request #59942 from erictapen/neopg-0.0.5

neopg: 0.0.4 -> 0.0.6
This commit is contained in:
Silvan Mosberger 2019-04-22 23:45:58 +02:00 committed by GitHub
commit a73f3c801f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
, cmake , cmake
, sqlite , sqlite
, botan2 , botan2
, boost164 , boost
, curl , curl
, gettext , gettext
, pkgconfig , pkgconfig
@ -12,26 +12,26 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "neopg-${version}"; name = "neopg-${version}";
version = "0.0.4"; version = "0.0.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "das-labor"; owner = "das-labor";
repo = "neopg"; repo = "neopg";
rev = "v${version}"; rev = "v${version}";
sha256 = "0hhkl326ff6f76k8pwggpzmivbm13fz497nlyy6ybn5bmi9xfblm"; sha256 = "15xp5w046ix59cfrhh8ka4camr0d8qqw643g184sqrcqwpk7nbrx";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake sqlite botan2 boost164 curl gettext libusb gnutls ]; buildInputs = [ cmake sqlite botan2 boost curl gettext libusb gnutls ];
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
dontUseCmakeBuildDir = true;
postInstall = '' preCheck = ''
mkdir -p $out/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/3rdparty/googletest/googletest:$(pwd)/neopg
cp src/neopg $out/bin/neopg
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {