Unverified Commit 545e64ea authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.x-transformers: migrate to finalAttrs

parent 3912daa4
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "x-transformers";
  version = "2.16.1";
  pyproject = true;
@@ -26,7 +26,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "lucidrains";
    repo = "x-transformers";
    tag = version;
    tag = finalAttrs.version;
    hash = "sha256-QnNNzPK1lLRpG/Z5tdZKME7tkfvn1lgo7zGUaK/Q548=";
  };

@@ -53,8 +53,8 @@ buildPythonPackage rec {
      A simple but complete full-attention transformer with a set of promising experimental features from various papers.
    '';
    homepage = "https://github.com/lucidrains/x-transformers";
    changelog = "https://github.com/lucidrains/x-transformers/releases/tag/${src.tag}";
    changelog = "https://github.com/lucidrains/x-transformers/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ ByteSudoer ];
  };
}
})