Merge pull request #194434 from markuskowa/upd-spglib

spglib: 1.16.5 -> 2.0.1
This commit is contained in:
markuskowa 2022-10-05 10:50:14 +02:00 committed by GitHub
commit 47de42155e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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/";