Merge pull request #224810 from GaetanLepage/brl-cad
brlcad: init at 7.34.0
This commit is contained in:
commit
2e724a1a37
2 changed files with 49 additions and 0 deletions
47
pkgs/applications/graphics/brlcad/default.nix
Normal file
47
pkgs/applications/graphics/brlcad/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, fontconfig
|
||||
, libX11
|
||||
, libXi
|
||||
, freetype
|
||||
, mesa
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "brlcad";
|
||||
version = "7.34.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BRL-CAD";
|
||||
repo = pname;
|
||||
rev = "refs/tags/rel-${lib.replaceStrings [ "." ] [ "-" ] version}";
|
||||
hash = "sha256-Re5gEXlqdPxniaEP13Q0v0O9rt40V5NrxoUpcNBwn7s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
libX11
|
||||
libXi
|
||||
freetype
|
||||
mesa
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBRLCAD_ENABLE_STRICT=OFF"
|
||||
"-DCMAKE_BUILD_TYPE=Release"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://brlcad.org";
|
||||
description = "BRL-CAD is a powerful cross-platform open source combinatorial solid modeling system";
|
||||
license = with licenses; [ lgpl21 bsd2 ];
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -29118,6 +29118,8 @@ with pkgs;
|
|||
|
||||
bristol = callPackage ../applications/audio/bristol { };
|
||||
|
||||
brlcad = callPackage ../applications/graphics/brlcad { };
|
||||
|
||||
bjumblr = callPackage ../applications/audio/bjumblr { };
|
||||
|
||||
bschaffl = callPackage ../applications/audio/bschaffl { };
|
||||
|
|
Loading…
Reference in a new issue