dawn: init at 3.91a

This commit is contained in:
Dmitry Kalinkin 2022-06-16 18:57:04 -04:00
parent dd38503071
commit 3e4d46ba0a
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "dawn";
version = "3.91a";
src = fetchurl {
url = "https://geant4.kek.jp/~tanaka/src/dawn_${builtins.replaceStrings ["."] ["_"] version}.tgz";
hash = "sha256-gdhV6tERdoGxiCQt0L46JOAF2b1AY/0r2pp6eU689fQ=";
};
postPatch = ''
substituteInPlace Makefile \
--replace 'CC =' 'CC = $(CXX) #' \
--replace 'INSTALL_DIR =' "INSTALL_DIR = $out/bin#"
'';
dontConfigure = true;
preInstall = ''
mkdir -p "$out/bin"
'';
meta = with lib; {
description = "A vectorized 3D PostScript processor with analytical hidden line/surface removal";
license = licenses.unfree;
homepage = "https://geant4.kek.jp/~tanaka/DAWN/About_DAWN.html";
platforms = platforms.unix;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@ -33287,6 +33287,8 @@ with pkgs;
### SCIENCE/PHYSICS
dawn = callPackage ../applications/science/physics/dawn {};
elmerfem = callPackage ../applications/science/physics/elmerfem {};
mcfm = callPackage ../applications/science/physics/MCFM {