mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
spglib: 2.0.2 -> 2.1.0
This commit is contained in:
parent
9f0e5916c8
commit
23e1d1e4da
@ -1,20 +1,22 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, openmp }:
|
{ stdenv, lib, fetchFromGitHub, cmake, gtest, openmp }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "spglib";
|
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 {
|
src = fetchFromGitHub {
|
||||||
owner = "spglib";
|
owner = "spglib";
|
||||||
repo = "spglib";
|
repo = "spglib";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-8Voepj35CMbboL3Dc55Gc4+OLPTTSgqVQuvNcRQsqmU=";
|
hash = "sha256-EL3jkzyurc8fnzk9kAdTaEtLfLlLtmaVDFwChfCDOrQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake gtest ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
|
buildInputs = lib.optionals stdenv.isDarwin [ openmp ];
|
||||||
|
|
||||||
|
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://spglib.github.io/spglib/";
|
homepage = "https://spglib.github.io/spglib/";
|
||||||
|
Loading…
Reference in New Issue
Block a user