Files
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";
2020-06-06 08:47:31 +02:00
version = "2.0.1";
2018-06-21 18:18:17 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:31 +02:00
sha256 = "188513ee187fbbace49066a29ecea9bbd351f23da3bea33d507d0f590856b082";
};
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 ];
};
}