From 6444c18e9ce2d4bc883b9b356952d701f77f2d6a Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 24 Oct 2022 22:25:37 +0300 Subject: [PATCH] flashfocus: 2.2.3 -> 2.3.1 add updateScript --- pkgs/misc/flashfocus/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix index b74464de4f68..67cde0924c29 100644 --- a/pkgs/misc/flashfocus/default.nix +++ b/pkgs/misc/flashfocus/default.nix @@ -1,12 +1,12 @@ -{ lib, python3, netcat-openbsd }: +{ lib, python3, netcat-openbsd, nix-update-script }: python3.pkgs.buildPythonApplication rec { pname = "flashfocus"; - version = "2.2.3"; + version = "2.3.1"; src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "0cn44hryvz2wl7xklaslxsb3l2i3f8jkgmml0n9v2ks22j5l4r4h"; + sha256 = "sha256-XT3CKJWn1uKnPPsJC+MWlEAd8sWdVTEXz5b3n0UUedY="; }; postPatch = '' @@ -36,6 +36,10 @@ python3.pkgs.buildPythonApplication rec { pythonImportsCheck = [ "flashfocus" ]; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { homepage = "https://github.com/fennerm/flashfocus"; description = "Simple focus animations for tiling window managers";