diff options
author | Donovan Glover <donovan@dglover.co> | 2024-03-15 12:59:42 -0400 |
---|---|---|
committer | Donovan Glover <donovan@dglover.co> | 2024-04-20 11:15:16 -0400 |
commit | cd5f77b5a8d986f875c7330382b52eec1a94ca6b (patch) | |
tree | ea6d68bb0a737e7fd82a6cb23abc17b71711837a /pkgs/by-name/hy/hyprland-workspaces/package.nix | |
parent | c84cf38a12a82b77c87b6d8a3385cf7b4eed77d2 (diff) |
hyprland-workspaces: init at 2.0.0
Closes https://github.com/NixOS/nixpkgs/issues/295965
Diffstat (limited to 'pkgs/by-name/hy/hyprland-workspaces/package.nix')
-rw-r--r-- | pkgs/by-name/hy/hyprland-workspaces/package.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/hy/hyprland-workspaces/package.nix b/pkgs/by-name/hy/hyprland-workspaces/package.nix new file mode 100644 index 0000000000000..4ca89b0da1188 --- /dev/null +++ b/pkgs/by-name/hy/hyprland-workspaces/package.nix @@ -0,0 +1,28 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage rec { + pname = "hyprland-workspaces"; + version = "2.0.0"; + + src = fetchFromGitHub { + owner = "FieldofClay"; + repo = "hyprland-workspaces"; + rev = "v${version}"; + hash = "sha256-4QGLTimIpx74gWUyHCheUZZT1WgVzBoJRY8OlUDdOh4="; + }; + + cargoHash = "sha256-9ndP0nyRBCdOGth4UWA263IvjbgnVW2x9PK8oTaMrxg="; + + meta = with lib; { + description = "A multi-monitor aware Hyprland workspace widget"; + homepage = "https://github.com/FieldofClay/hyprland-workspaces"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = with maintainers; [ kiike donovanglover ]; + mainProgram = "hyprland-workspaces"; + }; +} |