Merge pull request #255644 from markuskowa/upd-spglib

This commit is contained in:
Janik 2023-09-19 07:36:14 +02:00 committed by GitHub
commit 93c0e347b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,22 @@
{ stdenv, lib, fetchFromGitHub, cmake, openmp }:
{ stdenv, lib, fetchFromGitHub, cmake, gtest, openmp }:
stdenv.mkDerivation rec {
pname = "spglib";
version = "2.0.2"; # N.B: if you change this, please update: pythonPackages.spglib
version = "2.1.0"; # N.B: if you change this, please update: pythonPackages.spglib
src = fetchFromGitHub {
owner = "spglib";
repo = "spglib";
rev = "v${version}";
sha256 = "sha256-8Voepj35CMbboL3Dc55Gc4+OLPTTSgqVQuvNcRQsqmU=";
hash = "sha256-EL3jkzyurc8fnzk9kAdTaEtLfLlLtmaVDFwChfCDOrQ=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake gtest ];
buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
doCheck = true;
meta = with lib; {
description = "C library for finding and handling crystal symmetries";
homepage = "https://spglib.github.io/spglib/";