nixpkgs-suyu/pkgs/development/libraries/spglib/default.nix

27 lines
620 B
Nix
Raw Normal View History

2021-01-25 11:54:30 +01:00
{ stdenv, lib, fetchFromGitHub, cmake } :
stdenv.mkDerivation rec {
pname = "spglib";
2021-12-15 19:00:27 +01:00
version = "1.16.3";
2021-01-25 11:54:30 +01:00
src = fetchFromGitHub {
owner = "atztogo";
repo = "spglib";
rev = "v${version}";
2021-12-15 19:00:27 +01:00
sha256 = "sha256-sM6+RBAVc2aJYlWatdD4nYZkFnaTFVjBzd/VDSSA+kk=";
2021-01-25 11:54:30 +01:00
};
nativeBuildInputs = [ cmake ];
checkTarget = "check";
doCheck = true;
meta = with lib; {
description = "C library for finding and handling crystal symmetries";
homepage = "https://atztogo.github.io/spglib/";
license = licenses.bsd3;
maintainers = [ maintainers.markuskowa ];
2021-03-12 06:22:10 +01:00
platforms = platforms.all;
2021-01-25 11:54:30 +01:00
};
}