pythonPackage.ase: init at 3.16.2

- tests just hang so skipping tests
 - python 2.7, 3+
 - repository is in gitlab so had to fetchurl
wip/yesman
Chris Ostrouchov 6 years ago
parent 0513a0054d
commit 4716facdd1
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
  1. 36
      pkgs/development/python-modules/ase/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,36 @@
{ lib
, fetchurl
, buildPythonPackage
, numpy
, scipy
, matplotlib
, flask
, pillow
, psycopg2
}:
buildPythonPackage rec {
version = "3.16.2";
pname = "ase";
src = fetchurl {
url = "https://gitlab.com/${pname}/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
sha256 = "171j3f4a261cfnqjq98px5fldxql65i3jgf60wc945xvh0mbc8ds";
};
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 = {
description = "Atomic Simulation Environment";
homepage = https://wiki.fysik.dtu.dk/ase/;
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ costrouc ];
};
}

@ -182,6 +182,8 @@ in {
asana = callPackage ../development/python-modules/asana { };
ase = callPackage ../development/python-modules/ase { };
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
aspy-yaml = callPackage ../development/python-modules/aspy.yaml { };

Loading…
Cancel
Save