1-31-25 update

This commit is contained in:
2025-01-31 20:32:24 -05:00
parent 3348883bc3
commit ebce574127
58 changed files with 991 additions and 9032 deletions

2127
overlay/pkgs/ox/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.rustPlatform.buildRustPackage rec {
pname = "ox";
version = "v0.3.0-alpha_16aa803";
src = pkgs.fetchFromGitHub {
owner = "pagedMov";
repo = "ox";
rev = "16aa803faad2db175298f75278947b91b1e91267";
hash = "sha256-qhH6gPETDIMgRHtWPwmiwalsT1kAqx0ODtlWStVP1d0=";
};
doCheck = false; # TODO: Find a way to make tests work
cargoLock.lockFile = ./Cargo.lock;
passthru = {
shellPath = "/bin/ox";
};
}

27
overlay/pkgs/ox/update_ox.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
curl -O https://raw.githubusercontent.com/pagedMov/ox/refs/heads/master/Cargo.lock
NEW_SRC=$(fetchfromgh pagedMov/ox)
REV_SHORT=$(git ls-remote git@github.com:pagedMov/ox.git HEAD | awk '{print substr($1, 1, 7)}')
CUR_TAG=$(git ls-remote --tags git@github.com:pagedMov/ox.git | tail -n 2 | head -n 1 | cut -f2 | cut -d'/' -f3)
NEW_VER="${CUR_TAG}_$REV_SHORT"
cat <<EOF
{ pkgs ? import <nixpkgs> {} }:
pkgs.rustPlatform.buildRustPackage rec {
pname = "ox";
version = "$NEW_VER";
$NEW_SRC
doCheck = false; # TODO: Find a way to make tests work
cargoLock.lockFile = ./Cargo.lock;
passthru = {
shellPath = "/bin/ox";
};
}
EOF