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:
parent
1a8380360b
commit
233dc5f01f
20 changed files with 3565 additions and 3723 deletions
26
nix/api-test.nix
Normal file
26
nix/api-test.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue