mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
pythonPackages.dftfit: init at 0.4.11
- tests require lfs download so not run - python 3+ - fetchpypi since fetchurl is large download
This commit is contained in:
parent
dc552ab32e
commit
058e22e0a3
47
pkgs/development/python-modules/dftfit/default.nix
Normal file
47
pkgs/development/python-modules/dftfit/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pymatgen
|
||||
, marshmallow
|
||||
, pyyaml
|
||||
, pygmo
|
||||
, pandas
|
||||
, scipy
|
||||
, numpy
|
||||
, scikitlearn
|
||||
, lammps-cython
|
||||
, pymatgen-lammps
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, pytestcov
|
||||
, pytest-benchmark
|
||||
, isPy3k
|
||||
, openssh
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dftfit";
|
||||
version = "0.4.11";
|
||||
disabled = (!isPy3k);
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c6e36a793f9f94746bb8a04fb8316404aeacfa918704de07b15e1b4b8b62242d";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
checkInputs = [ pytest pytestcov pytest-benchmark openssh ];
|
||||
propagatedBuildInputs = [ pymatgen marshmallow pyyaml pygmo
|
||||
pandas scipy numpy scikitlearn
|
||||
lammps-cython pymatgen-lammps ];
|
||||
|
||||
# tests require git lfs download. and is quite large so skip tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Ab-Initio Molecular Dynamics Potential Development";
|
||||
homepage = https://gitlab.com/costrouc/dftfit;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
@ -264,6 +264,8 @@ in {
|
||||
dbus = pkgs.dbus;
|
||||
};
|
||||
|
||||
dftfit = callPackage ../development/python-modules/dftfit { };
|
||||
|
||||
discid = callPackage ../development/python-modules/discid { };
|
||||
|
||||
discordpy = callPackage ../development/python-modules/discordpy { };
|
||||
|
Loading…
Reference in New Issue
Block a user