about summary refs log tree commit diff
path: root/pkgs/development/libraries/science/chemistry/mmtf-cpp/default.nix
blob: a93b8f32cef2aa6fc8c7db24b790f0d6b9fc0dfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, lib, fetchFromGitHub, cmake, msgpack } :

stdenv.mkDerivation rec {
  pname = "mmtf-cpp";
  version = "1.1.0";

  src = fetchFromGitHub  {
    owner = "rcsb";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-8JrNobvekMggS8L/VORKA32DNUdXiDrYMObjd29wQmc=";
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [ msgpack ];

  meta = with lib; {
    description = "A library of exchange-correlation functionals with arbitrary-order derivatives";
    homepage = "https://github.com/rcsb/mmtf-cpp";
    license = licenses.mit;
    platforms = platforms.linux;
    maintainers = [ maintainers.sheepforce ];
  };
}