mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
pythonPackages.pymatgen-lammps: init at 0.4.5
- all tests pass - python 3+ - fetchurl since package is on gitlab
This commit is contained in:
parent
ff27546351
commit
fb40e62657
31
pkgs/development/python-modules/pymatgen-lammps/default.nix
Normal file
31
pkgs/development/python-modules/pymatgen-lammps/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, buildPythonPackage
|
||||
, pymatgen
|
||||
, lammps
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymatgen-lammps";
|
||||
version = "0.4.5";
|
||||
disabled = (!isPy3k);
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gitlab.com/costrouc/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
|
||||
sha256 = "0shldl8is3195jmji7dr3zsh1bzxlahaqrmpr28niks7nnfj80fx";
|
||||
};
|
||||
|
||||
buildInputs = [ pytestrunner ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ pymatgen ];
|
||||
|
||||
meta = {
|
||||
description = "A LAMMPS wrapper using pymatgen";
|
||||
homepage = https://gitlab.com/costrouc/pymatgen-lammps;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ costrouc ];
|
||||
};
|
||||
}
|
|
@ -439,6 +439,8 @@ in {
|
|||
|
||||
pymatgen = callPackage ../development/python-modules/pymatgen { };
|
||||
|
||||
pymatgen-lammps = callPackage ../development/python-modules/pymatgen-lammps { };
|
||||
|
||||
pynisher = callPackage ../development/python-modules/pynisher { };
|
||||
|
||||
pyparser = callPackage ../development/python-modules/pyparser { };
|
||||
|
|
Loading…
Reference in a new issue