mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #106360 from gebner/build-coin3d-cmake
coin3d, soqt, freecad: update to git master
This commit is contained in:
commit
af0e520681
3 changed files with 18 additions and 13 deletions
|
@ -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 = [
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ 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 = ''
|
||||
|
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ boost libGL libGLU ];
|
||||
buildInputs = [ boost libX11 libGL libGLU ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/coin3d/coin";
|
||||
|
|
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue