Merge pull request #305474 from natsukium/mmtf-cpp/darwin
mmtf-cpp: add darwin support
This commit is contained in:
commit
0bc0740fa3
|
@ -1,13 +1,13 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, cmake, msgpack } :
|
{ stdenv, lib, fetchFromGitHub, cmake, msgpack } :
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mmtf-cpp";
|
pname = "mmtf-cpp";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rcsb";
|
owner = "rcsb";
|
||||||
repo = pname;
|
repo = "mmtf-cpp";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-8JrNobvekMggS8L/VORKA32DNUdXiDrYMObjd29wQmc=";
|
hash = "sha256-8JrNobvekMggS8L/VORKA32DNUdXiDrYMObjd29wQmc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "A library of exchange-correlation functionals with arbitrary-order derivatives";
|
description = "A library of exchange-correlation functionals with arbitrary-order derivatives";
|
||||||
homepage = "https://github.com/rcsb/mmtf-cpp";
|
homepage = "https://github.com/rcsb/mmtf-cpp";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.sheepforce ];
|
maintainers = [ maintainers.sheepforce ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user