diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-12-06 19:57:55 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-08 13:48:30 +0000 |
commit | bf3aadfdd39aa197e18bade671fab6726349ffa4 (patch) | |
tree | 698567af766ed441d757b57a7b21e68d4a342a2b /nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix | |
parent | f4afc5a01d9539ce09e47494e679c51f80723d07 (diff) | |
parent | 99665eb45f58d959d2cb9e49ddb960c79d596f33 (diff) | |
download | nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.gz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.bz2 nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.lz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.xz nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.tar.zst nixlib-bf3aadfdd39aa197e18bade671fab6726349ffa4.zip |
Merge commit '99665eb45f58d959d2cb9e49ddb960c79d596f33'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix b/nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix index e697d97fea78..ae467123e9bc 100644 --- a/nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix +++ b/nixpkgs/pkgs/development/python-modules/boltztrap2/default.nix @@ -14,32 +14,45 @@ }: buildPythonPackage rec { - version = "22.3.2"; - pname = "BoltzTraP2"; + pname = "boltztrap2"; + version = "22.6.1"; + format = "setuptools"; + disabled = pythonOlder "3.5"; src = fetchPypi { - inherit pname version; - sha256 = "sha256-Yo37xdXxCQKkA+lrFEZp1DxjJy216Q6aYYT68PEx9JU="; + pname = "BoltzTraP2"; + inherit version; + hash = "sha256-zEKRsNg5P+KKQCeB49TiiSXRmusvr1zwssHhppZdkfA="; }; dontUseCmakeConfigure = true; - nativeBuildInputs = [ cmake cython ]; - checkInputs = [ pytest ]; - propagatedBuildInputs = [ spglib numpy scipy matplotlib ase netcdf4 ]; + nativeBuildInputs = [ + cmake + cython + ]; + + propagatedBuildInputs = [ + spglib + numpy + scipy + matplotlib + ase + netcdf4 + ]; # pypi release does no include files for tests doCheck = false; - checkPhase = '' - py.test - ''; + pythonImportsCheck = [ + "BoltzTraP2" + ]; meta = with lib; { - homepage = "http://www.boltztrap.org/"; description = "Band-structure interpolator and transport coefficient calculator"; - license = licenses.gpl3; - maintainers = [ maintainers.costrouc ]; + homepage = "http://www.boltztrap.org/"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ costrouc ]; }; } |