mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #42824 from Hodapp87/libfive
libfive: init at 2018-07-01
This commit is contained in:
commit
afa9f76391
2 changed files with 32 additions and 0 deletions
30
pkgs/development/libraries/libfive/default.nix
Normal file
30
pkgs/development/libraries/libfive/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, eigen3_3,
|
||||
zlib, libpng, boost, qt5, guile
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libfive-${version}";
|
||||
version = "2018-07-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libfive";
|
||||
repo = "libfive";
|
||||
rev = "0f517dde9521d751310a22f85ee69b2c84690267";
|
||||
sha256 = "0bfxysf5f4ripgcv546il8wnw5p0d4s75kdjlwvj32549537hlz0";
|
||||
};
|
||||
nativeBuildInputs = [ cmake ninja pkgconfig ];
|
||||
buildInputs = [ eigen3_3 zlib libpng boost qt5.qtimageformats guile ];
|
||||
|
||||
# Link "Studio" binary to "libfive-studio" to be more obvious:
|
||||
postFixup = ''
|
||||
ln -s "$out/bin/Studio" "$out/bin/libfive-studio"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Infrastructure for solid modeling with F-Reps in C, C++, and Guile";
|
||||
homepage = https://libfive.com/;
|
||||
maintainers = with maintainers; [ hodapp ];
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -10164,6 +10164,8 @@ with pkgs;
|
|||
|
||||
libf2c = callPackage ../development/libraries/libf2c {};
|
||||
|
||||
libfive = callPackage ../development/libraries/libfive {};
|
||||
|
||||
libfixposix = callPackage ../development/libraries/libfixposix {};
|
||||
|
||||
libffcall = callPackage ../development/libraries/libffcall { };
|
||||
|
|
Loading…
Reference in a new issue