Skip to content

Commit

Permalink
Merge pull request NixOS#194434 from markuskowa/upd-spglib
Browse files Browse the repository at this point in the history
spglib: 1.16.5 -> 2.0.1
  • Loading branch information
markuskowa authored Oct 5, 2022
2 parents b02e24b + 9817dd3 commit 47de421
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/development/libraries/spglib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit 47de421

Please sign in to comment.