3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/seekpath/default.nix

33 lines
834 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, numpy, future, spglib, glibcLocales, pytest }:
2018-06-21 18:18:17 +01:00
buildPythonPackage rec {
pname = "seekpath";
2019-10-24 07:47:48 +01:00
version = "1.9.3";
2018-06-21 18:18:17 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:48 +01:00
sha256 = "abc806479f11e7f71c4475a292d849baf15dfa1cbc89ecc602d78415de322c83";
};
2018-06-21 18:18:17 +01:00
LC_ALL = "en_US.utf-8";
propagatedBuildInputs = [ numpy spglib future ];
nativeBuildInputs = [ glibcLocales ];
checkInputs = [ pytest ];
# I don't know enough about crystal structures to fix
checkPhase = ''
pytest . -k 'not oI2Y'
'';
2018-06-21 18:18:17 +01:00
meta = with stdenv.lib; {
description = "A module to obtain and visualize band paths in the Brillouin zone of crystal structures.";
homepage = "https://github.com/giovannipizzi/seekpath";
2018-06-21 18:18:17 +01:00
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}