From 23e1d1e4dae96ebe63ea64753e6bea95c4554ba5 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sun, 17 Sep 2023 12:42:08 +0200 Subject: [PATCH] spglib: 2.0.2 -> 2.1.0 --- pkgs/development/libraries/spglib/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/spglib/default.nix b/pkgs/development/libraries/spglib/default.nix index 4b634a0f1f69..7cb99f065055 100644 --- a/pkgs/development/libraries/spglib/default.nix +++ b/pkgs/development/libraries/spglib/default.nix @@ -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/";