Commit 8c4ba203 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python314Packages.memray: migrate to finalAttrs

parent fe6547f7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
  textual,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "memray";
  version = "1.19.1";
  pyproject = true;
@@ -27,7 +27,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "bloomberg";
    repo = "memray";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-RdOtgNSkFIVl8Uve2iaJ7G0X1IHJ/Yo4h8hWP3pTV8g=";
  };

@@ -84,10 +84,10 @@ buildPythonPackage rec {
  meta = {
    description = "Memory profiler for Python";
    homepage = "https://bloomberg.github.io/memray/";
    changelog = "https://github.com/bloomberg/memray/releases/tag/${src.tag}";
    changelog = "https://github.com/bloomberg/memray/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
    platforms = lib.platforms.linux;
    mainProgram = "memray";
  };
}
})