Loading pkgs/by-name/fe/ferron/package.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, zstd, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "ferron"; version = "1.0.0"; src = fetchFromGitHub { owner = "ferronweb"; repo = "ferron"; tag = finalAttrs.version; hash = "sha256-kw2Ffl5KB3urg5h/ejbW+WxYLpNrxIjPy0levZPgRoo="; }; useFetchCargoVendor = true; cargoHash = "sha256-uPzEz72/3huigY8moYX5ztRZ0Uaye+GN7V8vKKklPkY="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ zstd ]; env = { ZSTD_SYS_USE_PKG_CONFIG = true; }; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Fast, memory-safe web server written in Rust"; homepage = "https://github.com/ferronweb/ferron"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "ferron"; }; }) Loading
pkgs/by-name/fe/ferron/package.nix 0 → 100644 +54 −0 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, zstd, versionCheckHook, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "ferron"; version = "1.0.0"; src = fetchFromGitHub { owner = "ferronweb"; repo = "ferron"; tag = finalAttrs.version; hash = "sha256-kw2Ffl5KB3urg5h/ejbW+WxYLpNrxIjPy0levZPgRoo="; }; useFetchCargoVendor = true; cargoHash = "sha256-uPzEz72/3huigY8moYX5ztRZ0Uaye+GN7V8vKKklPkY="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ zstd ]; env = { ZSTD_SYS_USE_PKG_CONFIG = true; }; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; doInstallCheck = true; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Fast, memory-safe web server written in Rust"; homepage = "https://github.com/ferronweb/ferron"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; mainProgram = "ferron"; }; })