Skip to content

Commit

Permalink
Merge pull request #210612 from ryantm/rtm-1-13-libversion
Browse files Browse the repository at this point in the history
libversion: 3.0.2 -> 3.0.3
  • Loading branch information
ryantm authored Jan 19, 2023
2 parents 0ab027e + 007e4b1 commit faf0031
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkgs/development/libraries/libversion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit faf0031

Please sign in to comment.