3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ase/default.nix
2020-07-26 09:06:11 +02:00

39 lines
749 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, isPy27
, numpy
, scipy
, matplotlib
, flask
, pillow
, psycopg2
}:
buildPythonPackage rec {
pname = "ase";
version = "3.19.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0qkfa7506cadvd9ps3radyhhanjs16jlhwhcixsz142d34ynli49";
};
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";
homepage = "https://wiki.fysik.dtu.dk/ase/";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ costrouc ];
};
}