From 0067b13bfa95a610e0ecf1b9b3e976dfd21a6d37 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 30 Oct 2023 18:53:01 -0400 Subject: [PATCH] hyprnome: 0.1.0 -> 0.2.0 --- pkgs/applications/misc/hyprnome/default.nix | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/hyprnome/default.nix b/pkgs/applications/misc/hyprnome/default.nix index 906bc00dce52..d8d6ba70c8f7 100644 --- a/pkgs/applications/misc/hyprnome/default.nix +++ b/pkgs/applications/misc/hyprnome/default.nix @@ -2,38 +2,41 @@ , rustPlatform , fetchFromGitHub , installShellFiles +, nix-update-script }: rustPlatform.buildRustPackage rec { pname = "hyprnome"; - version = "0.1.0"; + version = "0.2.0"; src = fetchFromGitHub { owner = "donovanglover"; repo = "hyprnome"; rev = version; - hash = "sha256-jb21hnPSzrCTuW7Yhs6jFzS2WUVQjkn6nCCi6LvoTGA="; + hash = "sha256-zlXiT2EOIdgIDI4NQuU3C903SSq5bylBAFJXyv7mdJ4="; }; - cargoHash = "sha256-QM5v2hKP3E9W3Aek6kFyFFNAp9s0oTFb4CEtxEHyny0="; + cargoHash = "sha256-DpbRs97sr5wpJSrYF99ZiQ0SZOZdoQjfaLhKIAU95HA="; nativeBuildInputs = [ installShellFiles ]; postInstall = '' - installManPage man/hyprnome.1 + installManPage target/man/hyprnome.1 installShellCompletion --cmd hyprnome \ - --bash <(cat completions/hyprnome.bash) \ - --fish <(cat completions/hyprnome.fish) \ - --zsh <(cat completions/_hyprnome) + --bash <(cat target/completions/hyprnome.bash) \ + --fish <(cat target/completions/hyprnome.fish) \ + --zsh <(cat target/completions/_hyprnome) ''; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "GNOME-like workspace switching in Hyprland"; homepage = "https://github.com/donovanglover/hyprnome"; - license = licenses.mit; + license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ donovanglover ]; mainProgram = "hyprnome";