Unverified Commit 1a6503fc authored by Felix Bargfeldt's avatar Felix Bargfeldt Committed by GitHub
Browse files

wofi-power-menu: 0.3.1 -> 0.3.2 (#444471)

parents 319145a7 a3b1f1c1
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -6,30 +6,22 @@
  wofi,
  versionCheckHook,
  nix-update-script,
  yq,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "wofi-power-menu";
  version = "0.3.1";
  version = "0.3.2";

  src = fetchFromGitHub {
    owner = "szaffarano";
    repo = "wofi-power-menu";
    tag = "v${finalAttrs.version}";
    hash = "sha256-3m4zTmjYn1WGdW5dY4tzYxOxdw0spwYxZFRhdBwWf2I=";
    hash = "sha256-EQHmi530ePlYRdjj/b+iF5edQFolZF0oVjSpyOE1Uk8=";
  };

  postPatch = ''
    tomlq -ti '.package.version = "0.3.1"' Cargo.toml
  '';

  cargoHash = "sha256-5txhSjCXlGqTmeG9EO1AUbt4syrTD62g4LtfO6nhAes=";
  cargoHash = "sha256-anArTkPkgYj7B2uKFRTN+aotLpdNSBdlkYERGJc0Xbo=";

  nativeBuildInputs = [
    makeBinaryWrapper
    yq # for `tomlq`
  ];
  nativeBuildInputs = [ makeBinaryWrapper ];

  postInstall = ''
    wrapProgram $out/bin/wofi-power-menu \