2023-07-18 06:10:32 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2024-06-20 06:32:08 +00:00
|
|
|
, cmake
|
2023-07-18 06:10:32 +00:00
|
|
|
, pkg-config
|
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fastn";
|
2024-11-13 05:13:12 +00:00
|
|
|
version = "0.4.79";
|
2023-07-18 06:10:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fastn-stack";
|
|
|
|
repo = pname;
|
2024-11-13 05:13:12 +00:00
|
|
|
rev = "f405500da3f3263f11b97ded059aeef9866a3454";
|
|
|
|
hash = "sha256-nIq89Owf2znBYsdpq+2LpzplBdrnRldYa1at4VqiD3Q=";
|
2023-07-18 06:10:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoLock = {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
2024-06-20 06:32:08 +00:00
|
|
|
"fastn-observer-0.1.0" = "sha256-D7ch6zB1xw54vGbpcQ3hf+zG11Le/Fy01W3kHhc8bOg=";
|
2023-07-18 06:10:32 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
OPENSSL_NO_VENDOR = "1";
|
2024-06-20 06:32:08 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2023-07-18 06:10:32 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
checkFlags = [
|
|
|
|
"--skip=tests::fbt"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://fastn.com/";
|
|
|
|
description = "An integrated development environment for FTD";
|
2024-11-13 05:13:12 +00:00
|
|
|
license = licenses.agpl3Plus;
|
2023-07-18 06:10:32 +00:00
|
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
2024-08-18 02:05:23 +00:00
|
|
|
mainProgram = "fastn";
|
2023-07-18 06:10:32 +00:00
|
|
|
};
|
|
|
|
}
|