Merge pull request #194434 from markuskowa/upd-spglib
spglib: 1.16.5 -> 2.0.1
This commit is contained in:
commit
47de42155e
|
@ -2,22 +2,19 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spglib";
|
||||
version = "1.16.5"; # N.B: if you change this, please update: pythonPackages.spglib
|
||||
version = "2.0.1"; # N.B: if you change this, please update: pythonPackages.spglib
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spglib";
|
||||
repo = "spglib";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BbqyL7WJ/jpOls1MmY7VNCN+OlF6u4uz/pZjMAqk87w=";
|
||||
sha256 = "sha256-0M3GSnNvBNmE4ShW8NNkVrOBGEF9A0C5wd++xnyrcdI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
|
||||
|
||||
checkTarget = "check";
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "C library for finding and handling crystal symmetries";
|
||||
homepage = "https://spglib.github.io/spglib/";
|
||||
|
|
Loading…
Reference in a new issue