This commit is contained in:
Robin Appelman 2026-05-14 20:39:32 +02:00
commit 216ae4540e
4 changed files with 8 additions and 7 deletions

2
Cargo.lock generated
View file

@ -183,7 +183,7 @@ dependencies = [
[[package]] [[package]]
name = "demostf-client" name = "demostf-client"
version = "0.4.6" version = "0.4.7"
dependencies = [ dependencies = [
"bytes", "bytes",
"futures-util", "futures-util",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "demostf-client" name = "demostf-client"
version = "0.4.6" version = "0.4.7"
authors = ["Robin Appelman <robin@icewind.nl>"] authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2021" edition = "2021"
description = "Api client for demos.tf" description = "Api client for demos.tf"
@ -10,7 +10,7 @@ readme = "README.md"
exclude = ["tests/data/gully.dem"] exclude = ["tests/data/gully.dem"]
keywords = ["tf2", "demo"] keywords = ["tf2", "demo"]
categories = ["api-bindings"] categories = ["api-bindings"]
rust-version = "1.81.0" rust-version = "1.88.0"
[dependencies] [dependencies]
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }

View file

@ -18,7 +18,7 @@
test-runner = pkgs: pkgs.test-runner; test-runner = pkgs: pkgs.test-runner;
}; };
checks = { checks = {
test = pkgs: pkgs.nixosTest (import ./nix/test.nix); test = pkgs: pkgs.testers.nixosTest (import ./nix/test.nix);
}; };
}; };
} }

View file

@ -1,12 +1,13 @@
{ {
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitea,
}: }:
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "demostf-parser"; pname = "demostf-parser";
version = "0.5.1"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitea {
domain = "codeberg.org";
owner = "demostf"; owner = "demostf";
repo = "parser"; repo = "parser";
rev = "0cd87a8a40e2a6af637d831b272c2758cebd2f9c"; rev = "0cd87a8a40e2a6af637d831b272c2758cebd2f9c";
@ -19,5 +20,5 @@ rustPlatform.buildRustPackage {
doCheck = false; doCheck = false;
cargoHash = "sha256-/Fnw6l2fznrBK780E4q1PKFOkT0eiL+dE+UuhFA+V9M="; cargoHash = "sha256-bODrlLFSV/CQX7fximCpqLQc1sPOIe+6xM1W1731KUs=";
} }