pythonPackages.atomman: init at 1.2.3

This commit is contained in:
Chris Ostrouchov 2018-10-10 18:13:56 -04:00
parent 7dd7190a57
commit 1ac9d8ea40
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, xmltodict
, datamodeldict
, numpy
, matplotlib
, scipy
, pandas
, cython
, numericalunits
, pytest
}:
buildPythonPackage rec {
version = "1.2.3";
pname = "atomman";
src = fetchPypi {
inherit pname version;
sha256 = "9eb6acc5497263cfa89be8d0f383a9a69f0726b4ac6798c1b1d96f26705ec09c";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits ];
# tests not included with Pypi release
doCheck = false;
checkPhase = ''
py.test tests
'';
meta = with stdenv.lib; {
homepage = https://github.com/usnistgov/atomman/;
description = "Atomistic Manipulation Toolkit";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -212,6 +212,8 @@ in {
aws-adfs = callPackage ../development/python-modules/aws-adfs { }; aws-adfs = callPackage ../development/python-modules/aws-adfs { };
atomman = callPackage ../development/python-modules/atomman { };
# packages defined elsewhere # packages defined elsewhere
amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { }; amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };