wofi-power-menu: 0.2.5 -> 0.2.6 and refactor (#375270)

authored by Nick Cao and committed by GitHub a5f1b283 c98b7211

+4 -7
+4 -7
pkgs/by-name/wo/wofi-power-menu/package.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "wofi-power-menu"; 13 - version = "0.2.5"; 14 15 src = fetchFromGitHub { 16 owner = "szaffarano"; 17 repo = "wofi-power-menu"; 18 tag = "v${version}"; 19 - hash = "sha256-V1aN8jkWmZz+ynVzZlDE/WYSBnt8XpPEb6NImd6OA4g="; 20 }; 21 22 - cargoHash = "sha256-KWpPyuI963v4D5uLUBNoLWU29lM1PD46uSR1LAUI+Es="; 23 - 24 - postPatch = '' 25 - sed -i 's/^version = .*/version = "${version}"/' Cargo.toml 26 - ''; 27 28 nativeBuildInputs = [ makeWrapper ]; 29 ··· 41 meta = { 42 description = "Highly configurable power menu using the wofi launcher power-menu"; 43 homepage = "https://github.com/szaffarano/wofi-power-menu"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ defelo ]; 46 mainProgram = "wofi-power-menu";
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "wofi-power-menu"; 13 + version = "0.2.6"; 14 15 src = fetchFromGitHub { 16 owner = "szaffarano"; 17 repo = "wofi-power-menu"; 18 tag = "v${version}"; 19 + hash = "sha256-UDDDtI6wnx64KG+1/S6bYTc1xi1vOFuZOmRCLK2Yzew="; 20 }; 21 22 + cargoHash = "sha256-NNlUV9hMIOXxYnCx5/njqQSEE5xIkbPRhTMet4oNJt0="; 23 24 nativeBuildInputs = [ makeWrapper ]; 25 ··· 37 meta = { 38 description = "Highly configurable power menu using the wofi launcher power-menu"; 39 homepage = "https://github.com/szaffarano/wofi-power-menu"; 40 + changelog = "https://github.com/szaffarano/wofi-power-menu/releases/tag/v${version}"; 41 license = lib.licenses.mit; 42 maintainers = with lib.maintainers; [ defelo ]; 43 mainProgram = "wofi-power-menu";