File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
pkgs/by-name/op/openorbitaloptimizer Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments