diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-10 18:13:56 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-30 13:38:59 -0400 |
commit | 1ac9d8ea407dc7262cdb5acdf290bd3a26f536c8 (patch) | |
tree | 852ac13311404aee46352a4b67ff38ae1bcd038b /pkgs/development/python-modules/atomman/default.nix | |
parent | 7dd7190a576bdb8c5f504370f0ea0c3160562e59 (diff) |
pythonPackages.atomman: init at 1.2.3
Diffstat (limited to 'pkgs/development/python-modules/atomman/default.nix')
-rw-r--r-- | pkgs/development/python-modules/atomman/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/atomman/default.nix b/pkgs/development/python-modules/atomman/default.nix new file mode 100644 index 0000000000000..ce4408b84412a --- /dev/null +++ b/pkgs/development/python-modules/atomman/default.nix @@ -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 ]; + }; +} |