biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / science / chemistry / dkh / default.nix
bloba0bed24336a992de14c78f89e30907b75a48da55
1 { lib, stdenv, gfortran, fetchFromGitHub, cmake } :
3 stdenv.mkDerivation rec {
4   pname = "dkh";
5   version = "1.2";
7   src = fetchFromGitHub  {
8     owner = "psi4";
9     repo = pname;
10     rev = "v${version}";
11     sha256= "1wb4qmb9f8rnrwnnw1gdhzx1fmhy628bxfrg56khxy3j5ljxkhck";
12   };
14   nativeBuildInputs = [
15     gfortran
16     cmake
17   ];
19   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
21   hardeningDisable = [
22     "format"
23   ];
25   meta = with lib; {
26     description = "Arbitrary-order scalar-relativistic Douglas-Kroll-Hess module";
27     license = licenses.lgpl3Only;
28     homepage = "https://github.com/psi4/dkh";
29     platforms = platforms.unix;
30     maintainers = [ maintainers.sheepforce ];
31   };