1{
2 stdenv,
3 lib,
4 fetchFromGitHub,
5 cmake,
6 msgpack,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "mmtf-cpp";
11 version = "1.1.0";
12
13 src = fetchFromGitHub {
14 owner = "rcsb";
15 repo = "mmtf-cpp";
16 rev = "v${finalAttrs.version}";
17 hash = "sha256-8JrNobvekMggS8L/VORKA32DNUdXiDrYMObjd29wQmc=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21
22 buildInputs = [ msgpack ];
23
24 meta = with lib; {
25 description = "Library of exchange-correlation functionals with arbitrary-order derivatives";
26 homepage = "https://github.com/rcsb/mmtf-cpp";
27 license = licenses.mit;
28 platforms = platforms.unix;
29 maintainers = [ maintainers.sheepforce ];
30 };
31})