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