update hwylterm

This commit is contained in:
Daylin Morgan 2025-01-30 14:51:53 -06:00
parent dc51cf83b7
commit 5c380c25e0
Signed by: daylin
GPG key ID: 950D13E9719334AD
5 changed files with 41 additions and 41 deletions

View file

@ -8,7 +8,7 @@ buildNimblePackage {
version = "unstable"; version = "unstable";
src = lib.cleanSource ./.; src = lib.cleanSource ./.;
nativeBuildInputs = [ openssl ]; nativeBuildInputs = [ openssl ];
nimbleDepsHash = "sha256-wuTGoswuAxAOOPDDI6Ma8Xzq1CApCfT+fAQmJg+VeYM="; nimbleDepsHash = "sha256-DE5PAgcntxMwmgd7NnabYhOBH5szSvwPM9sNdnF/Iyc=";
meta = { meta = {
description = "nix begat oizys"; description = "nix begat oizys";
}; };

View file

@ -3,12 +3,12 @@
"packages": { "packages": {
"hwylterm": { "hwylterm": {
"version": "0.1.0", "version": "0.1.0",
"vcsRevision": "73d58a23598ccd1c4c9c3335599c4e0a9b2ebeb9", "vcsRevision": "6a6bd269f2dc385b5711b1a29246883144bccb4f",
"url": "https://github.com/daylinmorgan/hwylterm", "url": "https://github.com/daylinmorgan/hwylterm",
"downloadMethod": "git", "downloadMethod": "git",
"dependencies": [], "dependencies": [],
"checksums": { "checksums": {
"sha1": "2ce648bd381834cf865e75f8326e7445d332b9c3" "sha1": "e484311567eca66268ebe2ffd9dbb768025277ae"
} }
}, },
"jsony": { "jsony": {

View file

@ -13,5 +13,5 @@ bin = @["oizys"]
requires "nim >= 2.0.8" requires "nim >= 2.0.8"
requires "jsony" requires "jsony"
requires "zippy" requires "zippy"
requires "https://github.com/daylinmorgan/hwylterm#73d58a23" requires "https://github.com/daylinmorgan/hwylterm#6a6bd269"

View file

@ -28,6 +28,7 @@ hwylCli:
`reset-cache`: `reset-cache`:
? "set cache timeout to 0" ? "set cache timeout to 0"
ident resetCache ident resetCache
[misc] [misc]
yes: yes:
- y - y
@ -157,13 +158,12 @@ hwylCli:
updateRepo() updateRepo()
nixosRebuild(NixosRebuildSubcmd.switch) nixosRebuild(NixosRebuildSubcmd.switch)
[utils] # [utils]
... """ # ... """
less common utils operations # less common utils operations
#
some snippets I've reimplemented in nim so that nix isn't as annoying # some snippets I've reimplemented in nim so that nix isn't as annoying
""" # """
subcommands:
[hash] [hash]
... "collect build hash from failure" ... "collect build hash from failure"
positionals: positionals:

View file

@ -1,6 +1,6 @@
import std/[strformat, strutils, osproc, sugar, httpclient, terminal, wordwrap] import std/[strformat, strutils, osproc, sugar, httpclient, terminal, wordwrap]
import hwylterm import hwylterm
import ./[nix, exec, logging, context] import ./[nix, exec, logging]
# TODO: refactor runCmdCaptWithSpinner so it works in getBuildHash # TODO: refactor runCmdCaptWithSpinner so it works in getBuildHash