31 lines
666 B
Nix
31 lines
666 B
Nix
{
|
|
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 = "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 ];
|
|
};
|
|
})
|