enforce new flake schema. formatting.
This commit is contained in:
parent
4b0a90e00d
commit
ecf5132cbb
121 changed files with 1606 additions and 1554 deletions
|
|
@ -1,10 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
python3,
|
||||
python312,
|
||||
fetchPypi,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
let
|
||||
python = python312;
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "arxiv-mcp-server";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
|
@ -16,10 +19,10 @@ python3.pkgs.buildPythonApplication rec {
|
|||
};
|
||||
|
||||
build-system = [
|
||||
python3.pkgs.hatchling
|
||||
python.pkgs.hatchling
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
dependencies = with python.pkgs; [
|
||||
aiofiles
|
||||
aiohttp
|
||||
anyio
|
||||
|
|
@ -36,7 +39,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
uvicorn
|
||||
];
|
||||
|
||||
optional-dependencies = with python3.pkgs; {
|
||||
optional-dependencies = with python.pkgs; {
|
||||
test = [
|
||||
aioresponses
|
||||
pytest
|
||||
|
|
@ -48,6 +51,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
pythonRemoveDeps = [
|
||||
"black"
|
||||
"mcp"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
|
|
|||
|
|
@ -20,9 +20,11 @@ rustPlatform.buildRustPackage rec {
|
|||
hash = "sha256-Fr1CvFocb/VAYQGykXXZ6CCfvC31bKB/tr1aoA4oIME=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-CNEkge585bzUUPMHCSJ1CAH5wx3Wttq9I3A3oqfBzis=";
|
||||
|
||||
cargoBuildFlags = "--ignore-rust-version";
|
||||
cargoTestFlags = "--ignore-rust-version";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
|
|
|||
|
|
@ -12,11 +12,9 @@
|
|||
let
|
||||
revision = "1161";
|
||||
|
||||
chromium-headless-shell =
|
||||
playwright-driver.passthru.components."chromium-headless-shell".overrideAttrs
|
||||
(old: {
|
||||
inherit revision;
|
||||
});
|
||||
chromium-headless-shell = playwright-driver.passthru.components."chromium-headless-shell".overrideAttrs (old: {
|
||||
inherit revision;
|
||||
});
|
||||
|
||||
browsers-headless-only = linkFarm "playwright-browsers-headless-only" [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <pass_storepath> <output_csv>"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue