mirror of
https://codeberg.org/demostf/api.git
synced 2026-11-30 04:30:48 +01:00
26 lines
548 B
Nix
26 lines
548 B
Nix
{
|
|
rustPlatform,
|
|
fetchgit,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
rustPlatform.buildRustPackage {
|
|
pname = "demostf-api-test";
|
|
version = "0.1.4";
|
|
|
|
src = fetchgit {
|
|
url = "https://codeberg.org/demostf/api-test";
|
|
rev = "0fb647df2924aef7d223ccb0c6782c99afed8473";
|
|
hash = "sha256-UPfo0jEMvJ7+cZrro2eIJz7ChRcTjBNo3Sunj+Efn7E=";
|
|
fetchLFS = true;
|
|
};
|
|
|
|
buildInputs = [openssl];
|
|
|
|
nativeBuildInputs = [pkg-config];
|
|
|
|
doCheck = false;
|
|
|
|
cargoHash = "sha256-N46s2QWA592TsqUBVJu3GV2rfvsHXEQLKDEt4S/JWow=";
|
|
meta.mainProgram = "api-test";
|
|
}
|