nixpkgs/pkgs/development/libraries/opencascade-occt/default.nix
R. RyanTM a3af5be304 opencascade-occt: 7.3.0p2 -> 7.3.0p3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/opencascade-occt/versions
2019-05-01 09:48:06 -07:00

43 lines
1.0 KiB
Nix

{ stdenv
, fetchurl
, cmake
, tcl
, tk
, vtk
, mesa_glu
, libXext
, libXmu
, libXi
, doxygen
}:
let version = "7.3.0p3";
commit = "V${builtins.replaceStrings ["."] ["_"] version}";
in stdenv.mkDerivation {
name = "opencascade-occt-${version}";
src = fetchurl {
name = "occt-${commit}.tar.gz";
url = "https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=${commit};sf=tgz";
sha256 = "0k9c3ypcnjcilq1dhsf6xxbd52gyq4h5rchvp30k3c8ph4ris5pz";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ tcl tk vtk mesa_glu libXext libXmu libXi doxygen ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";
homepage = "https://www.opencascade.org/";
license = licenses.lgpl21; # essentially...
# The special exception defined in the file OCCT_LGPL_EXCEPTION.txt
# are basically about making the license a little less share-alike.
maintainers = with maintainers; [ amiloradovsky ];
platforms = platforms.all;
};
}