Skip to content

Commit

Permalink
Merge pull request #106360 from gebner/build-coin3d-cmake
Browse files Browse the repository at this point in the history
coin3d, soqt, freecad: update to git master
  • Loading branch information
gebner authored Dec 8, 2020
2 parents 567e02e + ee545c6 commit af0e520
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/graphics/freecad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ let
pythonPackages = python3Packages;
in mkDerivation rec {
pname = "freecad-unstable";
version = "2020-10-17";
version = "2020-12-08";

src = fetchFromGitHub {
owner = "FreeCAD";
repo = "FreeCAD";
rev = "f3bdaaa55a6c03b297924c40819d23e4603fa55b";
sha256 = "1q1iy4i9k65v8z7h8a6r4bf5ycn124jp26xwp0xwbar4gnkx2jiq";
rev = "daea30341ea2d5eaf2bfb65614128a5fa2abc8b7";
sha256 = "1fza64lygqq35v7kzgqmiq5dvl5rpgkhlzv06f9dszdz44hznina";
};

nativeBuildInputs = [
Expand Down
11 changes: 6 additions & 5 deletions pkgs/development/libraries/coin3d/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{ fetchFromGitHub, stdenv, boost, cmake, libGL, libGLU }:
{ fetchFromGitHub, stdenv, boost, cmake, libX11, libGL, libGLU }:

stdenv.mkDerivation rec {
pname = "coin";
version = "4.0.0";
version = "2020-12-07-unstable";

src = fetchFromGitHub {
owner = "coin3d";
repo = "coin";
rev = "Coin-${version}";
sha256 = "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p";
# rev = "Coin-${version}";
rev = "d5539998aff272b349590fe74d068659682ecd0d";
sha256 = "11jaz8p9nn8jpd6dsgwgkldwr7z829gyf64g014qyyh8l6p7jzzd";
};

postPatch = ''
sed -i /cpack.d/d CMakeLists.txt
'';

nativeBuildInputs = [ cmake ];
buildInputs = [ boost libGL libGLU ];
buildInputs = [ boost libX11 libGL libGLU ];

meta = with stdenv.lib; {
homepage = "https://github.com/coin3d/coin";
Expand Down
14 changes: 9 additions & 5 deletions pkgs/development/libraries/soqt/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{ fetchurl, stdenv, coin3d, qtbase, cmake, pkgconfig }:
{ fetchFromGitHub, stdenv, coin3d, qtbase, cmake, pkgconfig }:

stdenv.mkDerivation rec {
pname = "soqt";
version = "1.6.0";
version = "2020-12-05-unstable";

src = fetchurl {
url = "https://github.com/coin3d/soqt/releases/download/SoQt-${version}/soqt-${version}-src.tar.gz";
sha256 = "07qfljy286vb7y1p93205zn9sp1lpn0rcrqm5010gj87kzsmllwz";
src = fetchFromGitHub {
owner = "coin3d";
repo = "soqt";
# rev = "SoQt-${version}";
rev = "fb8f655632bb9c9c60e0ff9fa69a5ba22d3ff99d";
sha256 = "sha256-YoBq8P3Tag2Sepqxf/qIcJDBhH/gladBmDUj78aacZs=";
fetchSubmodules = true;
};

buildInputs = [ coin3d qtbase ];
Expand Down

0 comments on commit af0e520

Please sign in to comment.