mirror of
https://github.com/0xrsydn/nix-hermes-agent.git
synced 2026-08-07 00:53:52 +00:00
ci: fix lint glob + format nix files
This commit is contained in:
parent
c3da68363c
commit
ba6c63e9bf
4 changed files with 113 additions and 58 deletions
40
package.nix
40
package.nix
|
|
@ -1,13 +1,14 @@
|
|||
{ lib
|
||||
, python312Packages
|
||||
, python312
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, makeWrapper
|
||||
, nodejs_22
|
||||
, ripgrep
|
||||
, ffmpeg
|
||||
, git
|
||||
{
|
||||
lib,
|
||||
python312Packages,
|
||||
python312,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
makeWrapper,
|
||||
nodejs_22,
|
||||
ripgrep,
|
||||
ffmpeg,
|
||||
git,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -25,7 +26,10 @@ let
|
|||
inherit version;
|
||||
hash = "sha256-nhwH0KYbRSqP+0jBmd5fJUPXVG8SMPYxI3BEMSfF6Tc=";
|
||||
};
|
||||
build-system = with pythonPackages; [ setuptools setuptools-scm ];
|
||||
build-system = with pythonPackages; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
dependencies = with pythonPackages; [
|
||||
httpx
|
||||
httpx-sse
|
||||
|
|
@ -45,7 +49,10 @@ let
|
|||
inherit version;
|
||||
hash = "sha256-b97r+UVOYrxSPVeIjlA1nme6r9sh9oYh+cFOCNwAYjo=";
|
||||
};
|
||||
build-system = with pythonPackages; [ setuptools wheel ];
|
||||
build-system = with pythonPackages; [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
dependencies = with pythonPackages; [
|
||||
httpx
|
||||
pydantic
|
||||
|
|
@ -166,7 +173,14 @@ pythonPackages.buildPythonApplication {
|
|||
for bin in $out/bin/hermes $out/bin/hermes-agent $out/bin/hermes-acp; do
|
||||
if [ -f "$bin" ]; then
|
||||
wrapProgram "$bin" \
|
||||
--prefix PATH : ${lib.makeBinPath [ nodejs_22 ripgrep ffmpeg git ]}
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
nodejs_22
|
||||
ripgrep
|
||||
ffmpeg
|
||||
git
|
||||
]
|
||||
}
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue