Compare commits

..

2 commits

Author SHA1 Message Date
ec68314102
sort packages 2024-07-08 06:53:21 -05:00
b32584b4dd
flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=ede1e63f69e0356eaef10e3da30b86862df38e8c' (2024-07-07)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=22138ac259b2f4253be29311f6b60fbd675074b4' (2024-07-07)
• Updated input 'lix':
    '55a32f24d3.tar.gz?narHash=sha256-wtnHG5T9Oe9P4YxtT1A8Sv7qvTdbFqGeELzX4JOOQkQ%3D' (2024-07-06)
  → 'd461cc1d7b.tar.gz?narHash=sha256-Dyi6uuQhPMR70SmX6sxMVPt5dSgK8rY17k1pXCd1L7s%3D' (2024-07-07)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/7051b909b9b5e74f19791795bd769de12c5acb3d' (2024-07-05)
  → 'github:nix-community/NixOS-WSL/30ebd0beb2ed26e09bcd245d757504029f807cce' (2024-07-08)
• Updated input 'nixos-wsl/nixpkgs':
    'github:NixOS/nixpkgs/706eef542dec88cc0ed25b9075d3037564b2d164' (2024-07-02)
  → 'github:NixOS/nixpkgs/49ee0e94463abada1de470c9c07bfc12b36dcf40' (2024-07-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb' (2024-07-05)
  → 'github:nixos/nixpkgs/ab82a9612aa45284d4adf69ee81871a389669a9e' (2024-07-07)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/c2d26da51d3dee4df10b56f29404e41621065438' (2024-07-07)
  → 'github:nix-community/nixpkgs-wayland/2e42a42b46fd0e79306cf9207b00a7364e77c1ab' (2024-07-07)
• Updated input 'roc':
    'github:roc-lang/roc/1bcf30391baef2cd19ff2158ba78748b67d3ddd1' (2024-07-06)
  → 'github:roc-lang/roc/1d1b96abb93d0f371590cc3b830968f67739ff52' (2024-07-07)
• Updated input 'zig2nix':
    'github:Cloudef/zig2nix/480387c5b4fef49d296b82819d901ede31489421' (2024-07-07)
  → 'github:Cloudef/zig2nix/795d5183bd447a5eea9d3448b73920b870e0abb8' (2024-07-08)
2024-07-08 06:47:43 -05:00
2 changed files with 28 additions and 26 deletions

View file

@ -305,11 +305,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1720360743, "lastModified": 1720380438,
"narHash": "sha256-5PCPVLl6pFlOfXwzrtcqO4atDLwu7Lv2eEUjghrAp7M=", "narHash": "sha256-PYS26pnocPkh0fIPzGEjKXhI7fJ5Y57D6q6NyLfxUiQ=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "ede1e63f69e0356eaef10e3da30b86862df38e8c", "rev": "22138ac259b2f4253be29311f6b60fbd675074b4",
"revCount": 4909, "revCount": 4911,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland/" "url": "https://github.com/hyprwm/Hyprland/"
@ -498,11 +498,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1720262197, "lastModified": 1720375568,
"narHash": "sha256-wtnHG5T9Oe9P4YxtT1A8Sv7qvTdbFqGeELzX4JOOQkQ=", "narHash": "sha256-Dyi6uuQhPMR70SmX6sxMVPt5dSgK8rY17k1pXCd1L7s=",
"rev": "55a32f24d3285c0b4f6866e16a4c8aeac6345c02", "rev": "d461cc1d7b2f489c3886f147166ba5b5e0e37541",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/55a32f24d3285c0b4f6866e16a4c8aeac6345c02.tar.gz" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/d461cc1d7b2f489c3886f147166ba5b5e0e37541.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@ -627,11 +627,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1720188460, "lastModified": 1720428387,
"narHash": "sha256-ydD3UPIPlOkEDStwNxzGwFhAi5vGcobn2EofOmUvKDA=", "narHash": "sha256-0vHxVNWTql555MZLb2kngrcjfNtsJKoYdyUivTibgnc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "7051b909b9b5e74f19791795bd769de12c5acb3d", "rev": "30ebd0beb2ed26e09bcd245d757504029f807cce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -679,11 +679,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1720361686, "lastModified": 1720365451,
"narHash": "sha256-qOac46YX6kbjZ8OvIKvN2xqmGe78kNXId7uPtnECqls=", "narHash": "sha256-DMmXUEesU/CGtnOiXkMZYJvXf+TJNZnKxIuiuA6ssZs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "c2d26da51d3dee4df10b56f29404e41621065438", "rev": "2e42a42b46fd0e79306cf9207b00a7364e77c1ab",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -726,11 +726,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1719956923, "lastModified": 1720244366,
"narHash": "sha256-nNJHJ9kfPdzYsCOlHOnbiiyKjZUW5sWbwx3cakg3/C4=", "narHash": "sha256-WrDV0FPMVd2Sq9hkR5LNHudS3OSMmUrs90JUTN+MXpA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "706eef542dec88cc0ed25b9075d3037564b2d164", "rev": "49ee0e94463abada1de470c9c07bfc12b36dcf40",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -742,11 +742,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1720181791, "lastModified": 1720368505,
"narHash": "sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8=", "narHash": "sha256-5r0pInVo5d6Enti0YwUSQK4TebITypB42bWy5su3MrQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb", "rev": "ab82a9612aa45284d4adf69ee81871a389669a9e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -851,11 +851,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1720229034, "lastModified": 1720392713,
"narHash": "sha256-IsBrvXCKlK6jIEig+ykjlTUUxtVcQnzldUss0ryQiXs=", "narHash": "sha256-yM9yUB3KGhSUfnYvDdOxJUDfvWkchr+XbVFzbgEEKgs=",
"owner": "roc-lang", "owner": "roc-lang",
"repo": "roc", "repo": "roc",
"rev": "1bcf30391baef2cd19ff2158ba78748b67d3ddd1", "rev": "1d1b96abb93d0f371590cc3b830968f67739ff52",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1150,11 +1150,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720315553, "lastModified": 1720401697,
"narHash": "sha256-OjpuG8eWW2tEs7blo0lsBCp8Tz5sFAtLmJQh6YoWlCg=", "narHash": "sha256-C0gnk4JZTND4GeSx7NzT+FRqZCcWBwtnw7IhahzBDjM=",
"owner": "Cloudef", "owner": "Cloudef",
"repo": "zig2nix", "repo": "zig2nix",
"rev": "480387c5b4fef49d296b82819d901ede31489421", "rev": "795d5183bd447a5eea9d3448b73920b870e0abb8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,6 +3,7 @@ package oizys
import ( import (
"fmt" "fmt"
"os" "os"
"sort"
"strings" "strings"
"github.com/charmbracelet/lipgloss" "github.com/charmbracelet/lipgloss"
@ -46,6 +47,7 @@ func parsePackages(lines []string, desc string) *packages {
} }
names[i] = name names[i] = name
} }
sort.Strings(names)
return &packages{names: names, pad: maxLen + 1, desc: desc} return &packages{names: names, pad: maxLen + 1, desc: desc}
} }