Skip to content

Commit

Permalink
Merge pull request #110753 from markuskowa/add-spglib
Browse files Browse the repository at this point in the history
spglib: init at 1.16.0
  • Loading branch information
SuperSandro2000 authored Jan 26, 2021
2 parents 59e73f2 + 7bf79f3 commit 117addb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/libraries/spglib/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, lib, fetchFromGitHub, cmake } :

stdenv.mkDerivation rec {
pname = "spglib";
version = "1.16.0";

src = fetchFromGitHub {
owner = "atztogo";
repo = "spglib";
rev = "v${version}";
sha256 = "1kzc956m1pnazhz52vspqridlw72wd8x5l3dsilpdxl491aa2nws";
};

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.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7868,6 +7868,8 @@ in

soapui = callPackage ../applications/networking/soapui { };

spglib = callPackage ../development/libraries/spglib { };

ssh-askpass-fullscreen = callPackage ../tools/networking/ssh-askpass-fullscreen { };

sshguard = callPackage ../tools/security/sshguard {};
Expand Down

0 comments on commit 117addb

Please sign in to comment.