mirror of
https://codeberg.org/demostf/api.git
synced 2026-08-02 12:24:52 +02:00
26 lines
545 B
Nix
26 lines
545 B
Nix
{
|
|
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-pDTNjpeGpMAr6hkl/o+Q3IR4t95qWJ76PgnJcEzlH2I=";
|
|
meta.mainProgram = "api-test";
|
|
}
|