nixos-config/pkgs/fastn/default.nix

42 lines
844 B
Nix
Raw Normal View History

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-06-20 06:32:08 +00:00
version = "0.4.69";
2023-07-18 06:10:32 +00:00
src = fetchFromGitHub {
owner = "fastn-stack";
repo = pname;
rev = version;
2024-06-20 06:32:08 +00:00
hash = "sha256-2KA8i+/REKXikQPskoS5/jSP3jmEJAiTkOvNYLs4iTE=";
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";
license = licenses.bsd3;
maintainers = with maintainers; [ foo-dogsquared ];
};
}