nixpkgs/pkgs/development/python-modules/ase/default.nix

39 lines
761 B
Nix
Raw Normal View History

{ lib
, fetchPypi
, buildPythonPackage
2019-08-05 09:42:43 +01:00
, isPy27
, numpy
, scipy
, matplotlib
, flask
, pillow
, psycopg2
}:
buildPythonPackage rec {
pname = "ase";
2020-08-16 18:30:50 +01:00
version = "3.20.1";
2019-08-05 09:42:43 +01:00
disabled = isPy27;
src = fetchPypi {
inherit pname version;
2020-08-16 18:30:50 +01:00
sha256 = "72c81f21b6adb907595fce8d883c0231301cbd8e9f6e5ce8e98bab927054daca";
};
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-06 14:04:55 +01:00
homepage = "https://wiki.fysik.dtu.dk/ase/";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ costrouc ];
};
}