pythonPackages.fdint: init at 2.0.2

This commit is contained in:
Chris Ostrouchov 2018-10-10 01:53:40 -04:00 committed by Frederik Rietdijk
parent 66a11d365c
commit a3b2890728
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, cython
, numpy
, python
, isPy3k
}:
buildPythonPackage rec {
version = "2.0.2";
pname = "fdint";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "30db139684d362652670e2cd3206b5dd7b3b93b86c3aff37f4b4fd4a3f98aead";
};
buildInputs = [ cython ];
propagatedBuildInputs = [ numpy ];
# tests not included with pypi release
doCheck = false;
checkPhase = ''
${python.interpreter} -m fdint.tests
'';
meta = with stdenv.lib; {
homepage = https://github.com/scott-maddox/fdint;
description = "A free, open-source python package for quickly and precisely approximating Fermi-Dirac integrals";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -330,6 +330,8 @@ in {
fire = callPackage ../development/python-modules/fire { };
fdint = callPackage ../development/python-modules/fdint { };
fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };
genanki = callPackage ../development/python-modules/genanki { };