libversion: 2.9.0 -> 3.0.1
This commit is contained in:
parent
58480f5c90
commit
449c1f88b4
1 changed files with 5 additions and 2 deletions
|
@ -2,17 +2,20 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libversion";
|
||||
version = "2.9.0";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "repology";
|
||||
repo = "libversion";
|
||||
rev = version;
|
||||
sha256 = "0h0yfcgxll09dckzjb1im3yf54cjkpsflr7r4kwz1jcr3fxq41fz";
|
||||
sha256 = "13x5djdpv6aryxsbw6a3b6vwzi9f4aa3gn9dqb7axzppggayawyk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=/build/source/build/libversion/:$LD_LIBRARY_PATH
|
||||
'';
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
||||
|
|
Loading…
Reference in a new issue