Merge pull request #59101 from gebner/lib3mf

lib3mf: init at 1.8.1
This commit is contained in:
Gabriel Ebner 2019-04-07 12:09:39 +02:00 committed by GitHub
commit 34cd3ac020
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub, cmake, ninja, libuuid, gtest }:
stdenv.mkDerivation rec {
pname = "lib3mf";
version = "1.8.1";
src = fetchFromGitHub {
owner = "3MFConsortium";
repo = pname;
rev = "v${version}";
sha256 = "11wpk6n9ga2p57h1dcrp37w77mii0r7r6mlrgmykf7rvii1rzgqd";
};
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ libuuid ];
postPatch = ''
rmdir UnitTests/googletest
ln -s ${gtest.src} UnitTests/googletest
'';
meta = with stdenv.lib; {
description = "Reference implementation of the 3D Manufacturing Format file standard";
homepage = "https://3mf.io/";
license = licenses.bsd2;
maintainers = with maintainers; [ gebner ];
platforms = platforms.all;
};
}

View file

@ -10746,6 +10746,8 @@ in
lib3ds = callPackage ../development/libraries/lib3ds { };
lib3mf = callPackage ../development/libraries/lib3mf { };
libaacs = callPackage ../development/libraries/libaacs { };
libaal = callPackage ../development/libraries/libaal { };