Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 761 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, isPy27 5, numpy 6, scipy 7, matplotlib 8, flask 9, pillow 10, psycopg2 11}: 12 13buildPythonPackage rec { 14 pname = "ase"; 15 version = "3.21.1"; 16 disabled = isPy27; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "78b01d88529d5f604e76bc64be102d48f058ca50faad72ac740d717545711c7b"; 21 }; 22 23 propagatedBuildInputs = [ numpy scipy matplotlib flask pillow psycopg2 ]; 24 25 checkPhase = '' 26 $out/bin/ase test 27 ''; 28 29 # tests just hang most likely due to something with subprocesses and cli 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Atomic Simulation Environment"; 34 homepage = "https://wiki.fysik.dtu.dk/ase/"; 35 license = licenses.lgpl21Plus; 36 maintainers = with maintainers; [ costrouc ]; 37 }; 38}