fixes
NixOS Configuration CI / Nix Flake Check (push) Successful in 52s

This commit is contained in:
2026-06-03 23:54:11 +02:00
parent b17a484806
commit f4b66744ad
7 changed files with 90 additions and 178 deletions
-50
View File
@@ -1,50 +0,0 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "rust-research-mcp";
version = "0.6.7-unstable";
src = fetchFromGitHub {
owner = "Ladvien";
repo = "research_hub_mcp";
rev = "3335c118da9e7a9e9e7f2e608989fbe35557f3c5";
hash = "sha256-KkIVeFQ8hEL82ZtC+Tie+8T/eZcEoWyq5cRVgdinQEc=";
};
cargoHash = "sha256-zwhQ2ksFbedeuzTaJI+9t9of6es7RJa6JwRHQRznqBY=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
doCheck = false;
# The build.rs uses vergen to embed git info, which fails without a git repo.
# Set environment variables to satisfy vergen during build.
env = {
VERGEN_GIT_BRANCH = "main";
VERGEN_GIT_COMMIT_DATE = "2025-09-25";
VERGEN_GIT_COMMIT_TIMESTAMP = "2025-09-25T19:35:10Z";
VERGEN_GIT_SHA = "3335c118da9e7a9e9e7f2e608989fbe35557f3c5";
VERGEN_BUILD_DATE = "2025-09-25";
VERGEN_BUILD_TIMESTAMP = "2025-09-25T19:35:10Z";
};
meta = with lib; {
description = "MCP server for accumulating and organizing academic knowledge";
homepage = "https://github.com/Ladvien/research_hub_mcp";
license = licenses.gpl3Only;
mainProgram = pname;
platforms = platforms.all;
};
}