mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 05:33:25 +00:00
commit
3f92843767
32
pkgs/applications/science/chemistry/dkh/default.nix
Normal file
32
pkgs/applications/science/chemistry/dkh/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, stdenv, gfortran, fetchFromGitHub, cmake } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dkh";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "psi4";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256= "1wb4qmb9f8rnrwnnw1gdhzx1fmhy628bxfrg56khxy3j5ljxkhck";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gfortran
|
||||
cmake
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
hardeningDisable = [
|
||||
"format"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Arbitrary-order scalar-relativistic Douglas-Kroll-Hess module";
|
||||
license = licenses.lgpl3Only;
|
||||
homepage = "https://github.com/psi4/dkh";
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.sheepforce ];
|
||||
};
|
||||
}
|
@ -29639,6 +29639,8 @@ in
|
||||
gstreamerSupport = true;
|
||||
});
|
||||
|
||||
dkh = callPackage ../applications/science/chemistry/dkh { };
|
||||
|
||||
openmolcas = callPackage ../applications/science/chemistry/openmolcas { };
|
||||
|
||||
pymol = callPackage ../applications/science/chemistry/pymol { };
|
||||
|
Loading…
Reference in New Issue
Block a user