lol

flashfocus: 2.2.3 -> 2.3.1

add updateScript

Artturin 6444c18e ae54952c

+7 -3
+7 -3
pkgs/misc/flashfocus/default.nix
··· 1 - { lib, python3, netcat-openbsd }: 1 + { lib, python3, netcat-openbsd, nix-update-script }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "flashfocus"; 5 - version = "2.2.3"; 5 + version = "2.3.1"; 6 6 7 7 src = python3.pkgs.fetchPypi { 8 8 inherit pname version; 9 - sha256 = "0cn44hryvz2wl7xklaslxsb3l2i3f8jkgmml0n9v2ks22j5l4r4h"; 9 + sha256 = "sha256-XT3CKJWn1uKnPPsJC+MWlEAd8sWdVTEXz5b3n0UUedY="; 10 10 }; 11 11 12 12 postPatch = '' ··· 35 35 doCheck = false; 36 36 37 37 pythonImportsCheck = [ "flashfocus" ]; 38 + 39 + passthru.updateScript = nix-update-script { 40 + attrPath = pname; 41 + }; 38 42 39 43 meta = with lib; { 40 44 homepage = "https://github.com/fennerm/flashfocus";