2018-08-10 20:41:46 +00:00
|
|
|
{ lib
|
2018-11-18 23:27:07 +00:00
|
|
|
, fetchPypi
|
2018-08-10 20:41:46 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, matplotlib
|
|
|
|
, flask
|
|
|
|
, pillow
|
|
|
|
, psycopg2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ase";
|
2018-11-18 23:27:07 +00:00
|
|
|
version = "3.17.0";
|
2018-08-10 20:41:46 +00:00
|
|
|
|
2018-11-18 23:27:07 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1d4gxypaahby45zcpl0rffcn2z7n55dg9lcd8sv6jjsmbbf9vr4g";
|
2018-08-10 20:41:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/ase test
|
|
|
|
'';
|
|
|
|
|
|
|
|
# tests just hang most likely due to something with subprocesses and cli
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-11-18 23:27:07 +00:00
|
|
|
meta = with lib; {
|
2018-08-10 20:41:46 +00:00
|
|
|
description = "Atomic Simulation Environment";
|
|
|
|
homepage = https://wiki.fysik.dtu.dk/ase/;
|
2018-11-18 23:27:07 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2018-08-10 20:41:46 +00:00
|
|
|
};
|
|
|
|
}
|