Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 23 lines 605 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, numpy, nose, pyyaml }: 2 3buildPythonPackage rec { 4 pname = "spglib"; 5 version = "1.14.1.post0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0kmllcch5p20ylxirqiqzls567jr2808rbld9i8f1kf0205al8qq"; 10 }; 11 12 propagatedBuildInputs = [ numpy ]; 13 14 checkInputs = [ nose pyyaml ]; 15 16 meta = with stdenv.lib; { 17 description = "Python bindings for C library for finding and handling crystal symmetries"; 18 homepage = https://atztogo.github.io/spglib; 19 license = licenses.bsd3; 20 maintainers = with maintainers; [ psyanticy ]; 21 }; 22} 23