flake update

This commit is contained in:
Robin Appelman 2026-10-24 17:02:01 +02:00
commit 743fdeabe4
Signed by: robin
SSH key fingerprint: SHA256:kifqgrqnut7q1YUIrI0AdMNC23qiKAS/T9uGFmIYvbE
5 changed files with 39 additions and 37 deletions

44
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": {
"crane": {
"locked": {
"lastModified": 1742394900,
"narHash": "sha256-vVOAp9ahvnU+fQoKd4SEXB2JG2wbENkpqcwlkIXgUC0=",
"lastModified": 1788465171,
"narHash": "sha256-Y1/TTVXjYXGF068IThQH9fPSZ0SIE74PABlUxnWTUH0=",
"owner": "ipetkov",
"repo": "crane",
"rev": "70947c1908108c0c551ddfd73d4f750ff2ea67cd",
"rev": "eb35abda9f232cc6610b1d1e3200d15c49b7ac54",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
]
},
"locked": {
"lastModified": 1745844883,
"narHash": "sha256-4t9eR291RIgYo29MvRQ04QgmjZNad3e5sBr40tLhLTM=",
"lastModified": 1792489355,
"narHash": "sha256-2PmFySKU1QBQD2U8ni5Ww0Mj4VGG+JoWDdiUMe0rCMY=",
"owner": "nix-community",
"repo": "flakelight",
"rev": "78ad7409722c554effa360208417244c54ef398f",
"rev": "3d088d158d9b0606298d33b80a55ecc1f592104e",
"type": "github"
},
"original": {
@ -44,31 +44,31 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1745623947,
"narHash": "sha256-7Jt9a6YjBeRPso1VaRsH6ZnqNzt+MlcmVM7MNBSLVEI=",
"owner": "icewind1991",
"repo": "mill-scale",
"rev": "45597aa1134a3ea397c4441e36ac1d836a5de000",
"type": "github"
"lastModified": 1789480598,
"narHash": "sha256-G1jy1kz2dLJCkVjjY2PnCXEL1B2iqMlSfz01YFCBY+c=",
"ref": "refs/heads/main",
"rev": "c1e026caf1750f226a20dab66594dc1ef3a34ec4",
"revCount": 77,
"type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git"
},
"original": {
"owner": "icewind1991",
"repo": "mill-scale",
"type": "github"
"type": "git",
"url": "https://codeberg.org/icewind/mill-scale.git"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1746183838,
"narHash": "sha256-kwaaguGkAqTZ1oK0yXeQ3ayYjs8u/W7eEfrFpFfIDFA=",
"lastModified": 1792615934,
"narHash": "sha256-MlvRfa1O5Cqc2/a+gG+l9TSuowEoCKCmrJ1d9oAVm0I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bf3287dac860542719fe7554e21e686108716879",
"rev": "da6dc0e7b26060f2f71ce3ef7088fb56ee44fa36",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-24.11",
"ref": "nixos-26.05",
"type": "indirect"
}
},
@ -88,11 +88,11 @@
]
},
"locked": {
"lastModified": 1742697269,
"narHash": "sha256-Lpp0XyAtIl1oGJzNmTiTGLhTkcUjwSkEb0gOiNzYFGM=",
"lastModified": 1789457514,
"narHash": "sha256-Aggle++fTyAifBy+QBPxjM+obO5iepKW/8MDxQtgGvI=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "01973c84732f9275c50c5f075dd1f54cc04b3316",
"rev": "89e99bf0778a8f2cd18c9360c3f19c1ee47fc739",
"type": "github"
},
"original": {

View file

@ -1,12 +1,12 @@
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-24.11";
nixpkgs.url = "nixpkgs/nixos-26.05";
flakelight = {
url = "github:nix-community/flakelight";
inputs.nixpkgs.follows = "nixpkgs";
};
mill-scale = {
url = "github:icewind1991/mill-scale";
url = "git+https://codeberg.org/icewind/mill-scale.git";
inputs.flakelight.follows = "flakelight";
};
};
@ -16,7 +16,7 @@
extraPaths = [./data];
withOverlays = [(import ./nix/overlay.nix)];
checks = {
test = pkgs: pkgs.nixosTest (import ./nix/test.nix);
test = pkgs: pkgs.testers.nixosTest (import ./nix/test.nix);
};
};
}

View file

@ -1,6 +1,6 @@
{
php,
fetchFromGitHub,
fetchFromGitea,
}: let
phpWithExtensions = php.withExtensions ({
enabled,
@ -12,16 +12,17 @@ in
pname = "demostf-api";
version = "0.1.0";
src = fetchFromGitHub {
src = fetchFromGitea {
domain = "codeberg.org";
owner = "demostf";
repo = "api";
rev = "52b9bc09fd187bf3bbc11dbe4443af0e07a716a4";
hash = "sha256-iMU7C2g76w5d5CtxRW5H50FxY+UlOc5gSpjxxbVyqUw=";
rev = "fff9070dfb14a7d8b07427e50395009f079339f0";
hash = "sha256-yBpQGXAL19z7J2t4dYr1LP3+2d8C9cLY9WvjMtjs2rw=";
};
vendorHash = "sha256-EYWCR2aJAoyWvEX+SML4Fb3F3KGcUtwCgqhAGT6ZjZ4=";
composerStrictValidation = false;
composerStrictValidation = true;
doCheck = false;
})

View file

@ -1,16 +1,17 @@
{
rustPlatform,
fetchFromGitHub,
fetchFromGitea,
}:
rustPlatform.buildRustPackage {
pname = "demostf-parser";
version = "0.5.1";
version = "0.6.1";
src = fetchFromGitHub {
src = fetchFromGitea {
domain = "codeberg.org";
owner = "demostf";
repo = "parser";
rev = "0cd87a8a40e2a6af637d831b272c2758cebd2f9c";
hash = "sha256-bKcc0hWTkdYUDMI/DjUh45abuBeQEvkn6TsuAz02H5Y=";
rev = "v0.6.1";
hash = "sha256-Hia97pYryYNal1HCoyt8RzAyqXoBp45gD3ERePIfNvs=";
};
cargoBuildFlags = ''
@ -19,5 +20,5 @@ rustPlatform.buildRustPackage {
doCheck = false;
cargoHash = "sha256-/Fnw6l2fznrBK780E4q1PKFOkT0eiL+dE+UuhFA+V9M=";
cargoHash = "sha256-FidQgOAfNyzhMs3aaT/FVJ/70XG/Z6GW3/MohegaJMw=";
}

View file

@ -95,7 +95,7 @@
DB_DATABASE = "demostf";
DB_USERNAME = "demostf";
APP_ROOT = "http://localhost";
EDIT_SECRET = "edit";
EDIT_KEY = "edit";
ACCESS_KEY = "access";
PARSER_PATH = "${pkgs.demostf-parser}/bin/parse_demo";
};