mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
pythonPackages.fdint: init at 2.0.2
This commit is contained in:
parent
66a11d365c
commit
a3b2890728
36
pkgs/development/python-modules/fdint/default.nix
Normal file
36
pkgs/development/python-modules/fdint/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -330,6 +330,8 @@ in {
|
|||||||
|
|
||||||
fire = callPackage ../development/python-modules/fire { };
|
fire = callPackage ../development/python-modules/fire { };
|
||||||
|
|
||||||
|
fdint = callPackage ../development/python-modules/fdint { };
|
||||||
|
|
||||||
fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };
|
fuse = callPackage ../development/python-modules/fuse-python { fuse = pkgs.fuse; };
|
||||||
|
|
||||||
genanki = callPackage ../development/python-modules/genanki { };
|
genanki = callPackage ../development/python-modules/genanki { };
|
||||||
|
Loading…
Reference in New Issue
Block a user