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 17:18:17 +00:00
buildPythonPackage rec {
pname = "seekpath";
2018-10-06 10:56:20 +00:00
version = "1.8.4";
2018-06-21 17:18:17 +00:00
src = fetchPypi {
inherit pname version;
2018-10-06 10:56:20 +00:00
sha256 = "b61dadba82acc0838402981b7944155adc092b114ca81f53f61b1d498a512e3a";
};
2018-06-21 17:18:17 +00: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 17:18:17 +00: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 17:18:17 +00:00
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}