Skip to content

Commit 289f85a

Browse files
committed
openorbitaloptimizer: init at 0.1.0
1 parent d6426fb commit 289f85a

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
stdenv,
3+
lib,
4+
fetchFromGitHub,
5+
gfortran,
6+
cmake,
7+
pkg-config,
8+
armadillo,
9+
blas,
10+
lapack,
11+
}:
12+
13+
stdenv.mkDerivation rec {
14+
pname = "OpenOrbitalOptimizer";
15+
version = "0.1.0";
16+
17+
src = fetchFromGitHub {
18+
owner = "susilethola";
19+
repo = "openorbitaloptimizer";
20+
rev = "v${version}";
21+
hash = "sha256-otIs2Y79KoEL4ut8YQe7Y27LpmpId8h/X8B6GIg8l+E=";
22+
};
23+
24+
nativeBuildInputs = [
25+
pkg-config
26+
cmake
27+
gfortran
28+
];
29+
30+
buildInputs = [
31+
armadillo
32+
blas
33+
lapack
34+
];
35+
36+
outputs = [
37+
"out"
38+
"dev"
39+
];
40+
41+
# Uses a hacky python setup run by cmake, which is hard to get running
42+
doCheck = false;
43+
44+
meta = with lib; {
45+
description = "Common orbital optimisation algorithms for quantum chemistry";
46+
license = [ licenses.mpl20 ];
47+
homepage = "https://github.com/susilehtola/OpenOrbitalOptimizer";
48+
platforms = platforms.linux;
49+
maintainers = [ maintainers.sheepforce ];
50+
};
51+
}

0 commit comments

Comments
 (0)