Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from sbatial/main
Browse files Browse the repository at this point in the history
Fix gomod2nix deps; housekeeping
  • Loading branch information
NotAShelf committed Jun 24, 2023
2 parents ac5bb50 + 0875616 commit 2822767
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ In case you still want to use it, instructions are below:

## Installation & Usage

### From source

1. Download Go. You can find it [here](https://golang.org/dl/)
2. Clone this repository with `git clone https://github.com/notashelf/hyprkeys`
2. Clone this repository with `git clone https://github.com/hyprland-community/hyprkeys`
3. Install the application with `make build` then `sudo make install`
5. You can run the application with `hyprland`
4. You can run the application with `hyprkeys`

### Using nix

`nix run github:hyprland-community/Hyprkeys`

## Project Roadmap

Expand Down
11 changes: 10 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@
];
}
),
lib,
}:
pkgs.buildGoApplication {
pname = "Hyprkeys";
version = "1.0.0";
version = "1.0.1";
pwd = ../.;
src = ../.;
modules = ./gomod2nix.toml;

meta = with lib; {
mainProgram = "hyprkeys";
license = licenses.mit;
description = "A simple, scriptable keybind retrieval utility for Hyprland";
homepage = "https://github.com/hyprland-community/${pname}";
changelog = "https://github.com/hyprland-community/${pname}/releases/tag/v${version}";
};
}
16 changes: 8 additions & 8 deletions nix/gomod2nix.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
schema = 3

[mod]
[mod."github.com/oleiade/reflections"]
[mod."github.com/inconshreveable/mousetrap"]
version = "v1.0.1"
hash = "sha256-KXdvV9qMWUoQGQAtA/+wxySz8H3Ysgs2L6YwoquBfH0="
[mod."github.com/pborman/getopt"]
version = "v1.1.0"
hash = "sha256-hMWyrsk88xecOyTnMrVqwG35TSyVU+G9vmRWpmrI4N4="
[mod."github.com/stretchr/testify"]
version = "v1.8.1"
hash = "sha256-3e0vOJLgCMAan+GfaGN8RGZdarh5iCavM6flf6YMNPk="
hash = "sha256-ZTP9pLgwAAvHYK5A4PqwWCHGt00x5zMSOpCPoomQ3Sg="
[mod."github.com/spf13/cobra"]
version = "v1.6.1"
hash = "sha256-80B5HcYdFisz6QLYkTyka7f9Dr6AfcVyPwp3QChoXwU="
[mod."github.com/spf13/pflag"]
version = "v1.0.5"
hash = "sha256-w9LLYzxxP74WHT4ouBspH/iQZXjuAh2WQCHsuvyEjAw="

0 comments on commit 2822767

Please sign in to comment.