Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 32 lines 834 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, numpy, future, spglib, glibcLocales, pytest }: 2 3buildPythonPackage rec { 4 pname = "seekpath"; 5 version = "1.9.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "abc806479f11e7f71c4475a292d849baf15dfa1cbc89ecc602d78415de322c83"; 10 }; 11 12 LC_ALL = "en_US.utf-8"; 13 14 propagatedBuildInputs = [ numpy spglib future ]; 15 16 nativeBuildInputs = [ glibcLocales ]; 17 18 checkInputs = [ pytest ]; 19 20 # I don't know enough about crystal structures to fix 21 checkPhase = '' 22 pytest . -k 'not oI2Y' 23 ''; 24 25 meta = with stdenv.lib; { 26 description = "A module to obtain and visualize band paths in the Brillouin zone of crystal structures."; 27 homepage = "https://github.com/giovannipizzi/seekpath"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ psyanticy ]; 30 }; 31} 32