about summary refs log tree commit diff
path: root/pkgs/development/libraries/science/chemistry/mmtf-cpp/default.nix
blob: 6c4061c4c05b923d021c9d9ebb44a27dd10299a6 (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 (finalAttrs: {
  pname = "mmtf-cpp";
  version = "1.1.0";

  src = fetchFromGitHub  {
    owner = "rcsb";
    repo = "mmtf-cpp";
    rev = "v${finalAttrs.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.unix;
    maintainers = [ maintainers.sheepforce ];
  };
})