3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/spglib/default.nix

27 lines
621 B
Nix
Raw Normal View History

2021-01-25 10:54:30 +00:00
{ stdenv, lib, fetchFromGitHub, cmake } :
stdenv.mkDerivation rec {
pname = "spglib";
2021-02-01 12:15:02 +00:00
version = "1.16.1";
2021-01-25 10:54:30 +00:00
src = fetchFromGitHub {
owner = "atztogo";
repo = "spglib";
rev = "v${version}";
2021-02-01 12:15:02 +00:00
sha256 = "1sk59nnar9npka4mdcfh4154ja46i35y4gbq892kwqidzyfs80in";
2021-01-25 10:54:30 +00: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 05:22:10 +00:00
platforms = platforms.all;
2021-01-25 10:54:30 +00:00
};
}