Merge pull request #78607 from Synthetica9/libversion-301

libversion: 2.9.0 -> 3.0.1
This commit is contained in:
Ryan Mulligan 2020-01-27 06:31:49 -08:00 committed by GitHub
commit 3946ade551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,17 +2,20 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libversion"; pname = "libversion";
version = "2.9.0"; version = "3.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "repology"; owner = "repology";
repo = "libversion"; repo = "libversion";
rev = version; rev = version;
sha256 = "0h0yfcgxll09dckzjb1im3yf54cjkpsflr7r4kwz1jcr3fxq41fz"; sha256 = "13x5djdpv6aryxsbw6a3b6vwzi9f4aa3gn9dqb7axzppggayawyk";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
preCheck = ''
export LD_LIBRARY_PATH=/build/source/build/libversion/:$LD_LIBRARY_PATH
'';
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";