about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/iodata/default.nix
blob: 748b7a14570c5c8087f5c6b160259ec1c2d47846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ buildPythonPackage, lib, fetchFromGitHub, numpy, scipy, attrs, cython, nose }:

buildPythonPackage rec {
  pname = "iodata";
  version = "0.1.7";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "theochem";
    repo = pname;
    rev = version;
    hash = "sha256-Qn2xWFxdS12K92DhdHVzYrBjPRV+vYo7Cs27vkeCaxM=";
  };

  leaveDotGit = true;

  nativeBuildInputs = [ cython nose ];
  propagatedBuildInputs = [ numpy scipy attrs ];

  pythonImportsCheck = [ "iodata" "iodata.overlap_accel" ];
  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 ];
  };
}