libversion: 3.0.2 -> 3.0.3
fixes build system, so no need for cmakeFlags
This commit is contained in:
parent
f907e2ee5e
commit
007e4b16c8
1 changed files with 2 additions and 11 deletions
|
@ -2,26 +2,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libversion";
|
||||
version = "3.0.2";
|
||||
version = "3.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "repology";
|
||||
repo = "libversion";
|
||||
rev = version;
|
||||
hash = "sha256-P/ykRy+LgcfWls4Zw8noel/K9mh/PnKy3smoQtuSi00=";
|
||||
hash = "sha256-REmXD0NFd7Af01EU/f2IGoTKiju6ErTI7WUinvrAzaA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/144170
|
||||
# the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
|
||||
# (setting it to an absolute path causes include files to go to $out/$out/include,
|
||||
# because the absolute path is interpreted with root at $out).
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
];
|
||||
|
||||
checkTarget = "test";
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue