Commit 2bc080c4 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.pylitterbot: migrate to finalAttrs

parent 0313e744
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
  uv-dynamic-versioning,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pylitterbot";
  version = "2025.3.2";
  pyproject = true;
@@ -24,7 +24,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "natekspencer";
    repo = "pylitterbot";
    tag = version;
    tag = "v${finalAttrs.version}";
    hash = "sha256-bFJ6v27yfzMPqZijWCOlgdVS19IKIMqZcq2FjAyMnqo=";
  };

@@ -54,8 +54,8 @@ buildPythonPackage rec {
  meta = {
    description = "Modulefor controlling a Litter-Robot";
    homepage = "https://github.com/natekspencer/pylitterbot";
    changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${src.tag}";
    changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})