mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
0215034f25
when they already rely on SRI hashes.
41 lines
781 B
Nix
41 lines
781 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, isPy27
|
|
, numpy
|
|
, scipy
|
|
, matplotlib
|
|
, flask
|
|
, pillow
|
|
, psycopg2
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ase";
|
|
version = "3.22.1";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-AE32sOoEsRFMeQ+t/kXUEl6w5TElxmqTQlr4U9gqtDI=";
|
|
};
|
|
|
|
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;
|
|
|
|
pythonImportsCheck = [ "ase" ];
|
|
|
|
meta = with lib; {
|
|
description = "Atomic Simulation Environment";
|
|
homepage = "https://wiki.fysik.dtu.dk/ase/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ costrouc ];
|
|
};
|
|
}
|