From 007e4b16c8b31bb18a4b25ccd9b39d8c29bb6dd2 Mon Sep 17 00:00:00 2001 From: Ryan Mulligan Date: Fri, 13 Jan 2023 21:45:16 -0500 Subject: [PATCH] libversion: 3.0.2 -> 3.0.3 fixes build system, so no need for cmakeFlags --- pkgs/development/libraries/libversion/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/libversion/default.nix b/pkgs/development/libraries/libversion/default.nix index 14d56c4d8ca2..4efe91096576 100644 --- a/pkgs/development/libraries/libversion/default.nix +++ b/pkgs/development/libraries/libversion/default.nix @@ -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;