mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
lib3mf: 1.8.1 → 2.0.0
This commit is contained in:
parent
fba7eaeb63
commit
5584227701
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lib3mf";
|
||||
version = "1.8.1";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "3MFConsortium";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd";
|
||||
sha256 = "0w4d9zvl95g1x3r5nyd6cr27g6fwhhwaivh8a5r1xs5l6if21x19";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
|
@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = if stdenv.isDarwin then [ libossp_uuid ] else [ libuuid ];
|
||||
|
||||
postPatch = ''
|
||||
rmdir UnitTests/googletest
|
||||
ln -s ${gtest.src} UnitTests/googletest
|
||||
rmdir Tests/googletest
|
||||
ln -s ${gtest.src} Tests/googletest
|
||||
|
||||
# fix libdir=''${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
sed -i 's,=''${\(exec_\)\?prefix}/,=,' lib3MF.pc.in
|
||||
|
|
Loading…
Reference in a new issue