Unverified Commit 441dc2b5 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.beautysh: migrate to finalAttrs

parent b5cb456f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  types-colorama,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "beautysh";
  version = "6.4.3";
  pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "lovesegfault";
    repo = "beautysh";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-P2oF6Sb7CBsZGSOXifxgCtJdY50YUJF3tKihp3v1cK4=";
  };

@@ -42,9 +42,9 @@ buildPythonPackage rec {
  meta = {
    description = "Tool for beautifying Bash scripts";
    homepage = "https://github.com/lovesegfault/beautysh";
    changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${src.tag}";
    changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "beautysh";
  };
}
})