2019-08-05 09:38:16 +01:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, matplotlib
|
|
|
|
, flask
|
|
|
|
, pillow
|
|
|
|
, psycopg2
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ase";
|
2019-12-22 23:30:53 +00:00
|
|
|
version = "3.17.0";
|
2019-08-05 09:38:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-22 23:30:53 +00:00
|
|
|
sha256 = "1d4gxypaahby45zcpl0rffcn2z7n55dg9lcd8sv6jjsmbbf9vr4g";
|
2019-08-05 09:38:16 +01: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;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Atomic Simulation Environment";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.fysik.dtu.dk/ase/";
|
2019-08-05 09:38:16 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ costrouc ];
|
|
|
|
};
|
|
|
|
}
|