spglib: 1.16.3 -> 1.16.5
This commit is contained in:
parent
534a3f3807
commit
fbf81f9e47
|
@ -1,24 +1,27 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, cmake } :
|
{ stdenv, lib, fetchFromGitHub, cmake, openmp }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "spglib";
|
pname = "spglib";
|
||||||
version = "1.16.3";
|
version = "1.16.5"; # N.B: if you change this, please update: pythonPackages.spglib
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "atztogo";
|
owner = "spglib";
|
||||||
repo = "spglib";
|
repo = "spglib";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-sM6+RBAVc2aJYlWatdD4nYZkFnaTFVjBzd/VDSSA+kk=";
|
sha256 = "sha256-BbqyL7WJ/jpOls1MmY7VNCN+OlF6u4uz/pZjMAqk87w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
|
||||||
|
|
||||||
checkTarget = "check";
|
checkTarget = "check";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "C library for finding and handling crystal symmetries";
|
description = "C library for finding and handling crystal symmetries";
|
||||||
homepage = "https://atztogo.github.io/spglib/";
|
homepage = "https://spglib.github.io/spglib/";
|
||||||
|
changelog = "https://github.com/spglib/spglib/raw/v${version}/ChangeLog";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.markuskowa ];
|
maintainers = [ maintainers.markuskowa ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
|
|
@ -10362,7 +10362,9 @@ with pkgs;
|
||||||
jdk = jdk11;
|
jdk = jdk11;
|
||||||
};
|
};
|
||||||
|
|
||||||
spglib = callPackage ../development/libraries/spglib { };
|
spglib = callPackage ../development/libraries/spglib {
|
||||||
|
inherit (llvmPackages) openmp;
|
||||||
|
};
|
||||||
|
|
||||||
spicy = callPackage ../development/tools/spicy { };
|
spicy = callPackage ../development/tools/spicy { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue