diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 22:56:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 22:56:36 +0900 |
| commit | 783f947157b8f2855b973989cb1d584a89e59978 (patch) | |
| tree | 337973aabebae2124b1a3a0ff9ac59f7c21a89fc /pkgs | |
| parent | 939f02ceab3cecf66a399e50e72af46e4d277bd1 (diff) | |
| download | nur-packages-783f947157b8f2855b973989cb1d584a89e59978.tar.gz nur-packages-783f947157b8f2855b973989cb1d584a89e59978.tar.zst nur-packages-783f947157b8f2855b973989cb1d584a89e59978.zip | |
add term-clock
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/hgrep/default.nix | 2 | ||||
| -rw-r--r-- | pkgs/reparojson/default.nix | 2 | ||||
| -rw-r--r-- | pkgs/term-clock/default.nix | 25 |
3 files changed, 27 insertions, 2 deletions
diff --git a/pkgs/hgrep/default.nix b/pkgs/hgrep/default.nix index 2027e1d..97db780 100644 --- a/pkgs/hgrep/default.nix +++ b/pkgs/hgrep/default.nix @@ -50,7 +50,7 @@ rustPlatform.buildRustPackage rec { description = "hgrep is a grep tool with human-friendly search output. This is similar to `-C` option of `grep` command, but its output is enhanced with syntax highlighting focusing on human readable outputs."; homepage = "https://github.com/rhysd/hgrep"; changelog = "https://github.com/rhysd/hgrep/raw/v${version}/CHANGELOG.md"; - license = [ lib.licenses.mit ]; + license = lib.licenses.mit; mainProgram = "hgrep"; }; } diff --git a/pkgs/reparojson/default.nix b/pkgs/reparojson/default.nix index fd79c79..3402593 100644 --- a/pkgs/reparojson/default.nix +++ b/pkgs/reparojson/default.nix @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "A simple command-line tool to repair JSON. It only fixes the syntactic errors and never formats the given input."; homepage = "https://github.com/nsfisis/reparojson"; - license = [ lib.licenses.mit ]; + license = lib.licenses.mit; mainProgram = "reparojson"; }; } diff --git a/pkgs/term-clock/default.nix b/pkgs/term-clock/default.nix new file mode 100644 index 0000000..3f80adb --- /dev/null +++ b/pkgs/term-clock/default.nix @@ -0,0 +1,25 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "term-clock"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "nsfisis"; + repo = "term-clock"; + rev = "v${version}"; + hash = "sha256-OUM4TyfqJJBpTFHnD1rwkk7W20SK1T7lxc5i2nL4TbY="; + }; + vendorHash = "sha256-NLxaPtxhb67uhs01DASlAIfCIWV1lnuiu+uFmJcxN0U="; + + meta = { + description = "A clock on your terminal"; + homepage = "https://github.com/nsfisis/term-clock"; + license = lib.licenses.mit; + mainProgram = "term-clock"; + }; +} |
