2022-03-30 09:31:56 +00:00
|
|
|
{ buildPythonPackage, lib, fetchFromGitHub, numpy, scipy, attrs, cython, nose }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "iodata";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.0.0a2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "theochem";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-GFTCYE19Re7WLhV8eU+0i8OMp/Tsms/Xj9DRTcgjcz4=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cython nose ];
|
|
|
|
propagatedBuildInputs = [ numpy scipy attrs ];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
pythonImportsCheck = [ "iodata" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
doCheck = false; # Requires roberto or nose and a lenghtly setup to find the cython modules
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for reading, writing, and converting computational chemistry file formats and generating input files";
|
|
|
|
homepage = "https://github.com/theochem/iodata";
|
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
maintainers = [ maintainers.sheepforce ];
|
|
|
|
};
|
|
|
|
}
|