Commit 12e0d3a2 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

python3Packages.plover_4: modernise

Remove unused set pattern from override interface.
Use fixed-point arguments when calling buildPythonPackage.
Use structured attributes.
parent 14b4884f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  versionCheckHook,
  appdirs,
  babel,
@@ -22,7 +21,9 @@
  wrapQtAppsHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  __structuredAttrs = true;

  pname = "plover";
  version = "4.0.2";
  pyproject = true;
@@ -30,7 +31,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "openstenoproject";
    repo = "plover";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-VpQT25bl8yPG4J9IwLkhSkBt31Y8BgPJdwa88WlreA8=";
  };

@@ -90,4 +91,4 @@ buildPythonPackage rec {
    platforms = lib.platforms.unix;
    broken = stdenv.hostPlatform.isDarwin;
  };
}
})