depot/third_party/nixpkgs/pkgs/development/libraries/spglib/default.nix
Default email 69f1308e7b Project import generated by Copybara.
GitOrigin-RevId: 4138cbd913fad85073e59007710e3f083d0eb7c6
2021-08-12 08:41:47 -06:00

26 lines
621 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake } :
stdenv.mkDerivation rec {
pname = "spglib";
version = "1.16.2";
src = fetchFromGitHub {
owner = "atztogo";
repo = "spglib";
rev = "v${version}";
sha256 = "1sbrk26xyvlhqxxv9cq2ycxwbiafgmh7lf221377zpqq8q3iavd7";
};
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 ];
platforms = platforms.all;
};
}