Unverified Commit 8902f1bf authored by natsukium's avatar natsukium
Browse files

mmtf-cpp: adopt finalAttrs pattern

parent 18a4e083
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ stdenv, lib, fetchFromGitHub, cmake, msgpack } :

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

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

@@ -22,4 +22,4 @@ stdenv.mkDerivation rec {
    platforms = platforms.unix;
    maintainers = [ maintainers.sheepforce ];
  };
}
})