mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 03:37:26 +00:00
hyprnome: init at 0.1.0
This commit is contained in:
parent
2fe3ce022d
commit
78734454e4
41
pkgs/applications/misc/hyprnome/default.nix
Normal file
41
pkgs/applications/misc/hyprnome/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hyprnome";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "donovanglover";
|
||||
repo = "hyprnome";
|
||||
rev = version;
|
||||
hash = "sha256-jb21hnPSzrCTuW7Yhs6jFzS2WUVQjkn6nCCi6LvoTGA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QM5v2hKP3E9W3Aek6kFyFFNAp9s0oTFb4CEtxEHyny0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/hyprnome.1
|
||||
|
||||
installShellCompletion --cmd hyprnome \
|
||||
--bash <(cat completions/hyprnome.bash) \
|
||||
--fish <(cat completions/hyprnome.fish) \
|
||||
--zsh <(cat completions/_hyprnome)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNOME-like workspace switching in Hyprland";
|
||||
homepage = "https://github.com/donovanglover/hyprnome";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ donovanglover ];
|
||||
mainProgram = "hyprnome";
|
||||
};
|
||||
}
|
@ -5660,6 +5660,8 @@ with pkgs;
|
||||
|
||||
hyprland-share-picker = libsForQt5.callPackage ../applications/window-managers/hyprwm/xdg-desktop-portal-hyprland/hyprland-share-picker.nix { };
|
||||
|
||||
hyprnome = callPackage ../applications/misc/hyprnome { };
|
||||
|
||||
hyprpaper = callPackage ../applications/window-managers/hyprwm/hyprpaper { };
|
||||
|
||||
hyprpicker = callPackage ../applications/window-managers/hyprwm/hyprpicker {
|
||||
|
Loading…
Reference in New Issue
Block a user