nixpkgs/pkgs/by-name/cs/csxcad/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
776 B
Nix
Raw Normal View History

{ lib, stdenv
2019-10-21 00:51:51 +00:00
, fetchFromGitHub
, cmake
, fparser
, tinyxml
, hdf5
2023-12-18 06:15:50 +00:00
, cgal
2023-02-04 18:49:28 +00:00
, vtk
2019-10-21 00:51:51 +00:00
, boost
, gmp
, mpfr
}:
stdenv.mkDerivation rec {
pname = "csxcad";
2023-12-04 01:56:35 +00:00
version = "0.6.3";
2019-10-21 00:51:51 +00:00
src = fetchFromGitHub {
owner = "thliebig";
repo = "CSXCAD";
2023-12-04 01:56:35 +00:00
rev = "v${version}";
sha256 = "sha256-SSV5ulx3rCJg99I/oOQbqe+gOSs+BfcCo6UkWHVhnSs=";
2019-10-21 00:51:51 +00:00
};
patches = [./searchPath.patch ];
buildInputs = [
2023-12-18 06:15:50 +00:00
cgal
2019-10-21 00:51:51 +00:00
boost
gmp
mpfr
2023-02-04 18:49:28 +00:00
vtk
2019-10-21 00:51:51 +00:00
fparser
tinyxml
hdf5
];
nativeBuildInputs = [ cmake ];
meta = with lib; {
2019-10-21 00:51:51 +00:00
description = "C++ library to describe geometrical objects";
homepage = "https://github.com/thliebig/CSXCAD";
license = licenses.lgpl3;
maintainers = with maintainers; [ matthuszagh ];
platforms = platforms.linux;
};
}