1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-08-02 20:34:45 +02:00

flake reorg, nix integration testing

This commit is contained in:
Robin Appelman 2024-12-24 18:27:52 +01:00
commit 233dc5f01f
20 changed files with 3565 additions and 3723 deletions

26
nix/api-test.nix Normal file
View file

@ -0,0 +1,26 @@
{
rustPlatform,
fetchgit,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage {
pname = "demostf-api-test";
version = "0.1.4";
src = fetchgit {
url = "https://github.com/demostf/api-test";
rev = "b2a8446e9b12c84d2c9228e4babe5d34132d3298";
hash = "sha256-Zn6P4ukhoxqP+16ZkLBbqzM9DsTLmSNa4zrkhmyzy/I";
fetchLFS = true;
};
buildInputs = [openssl];
nativeBuildInputs = [pkg-config];
doCheck = false;
cargoHash = "sha256-Irv6atngsh0hPJ256tMxer3nR0PjBcaOJLVldnPnwUs=";
meta.mainProgram = "api-test";
}