more octofriend

This commit is contained in:
Julian Sutter 2025-12-18 18:53:46 -08:00
parent 7fc42d321a
commit d122c3b418
4 changed files with 83 additions and 1 deletions

78
appflakes/octofriend/flake.lock generated Normal file
View file

@ -0,0 +1,78 @@
{
"nodes": {
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1765779637,
"narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"octofriend": {
"flake": false,
"locked": {
"lastModified": 1766013652,
"narHash": "sha256-X7t2CGNZP+OS2pbMtRAg3XIGq3HA3N3rPk5ELV1FNRQ=",
"owner": "synthetic-lab",
"repo": "octofriend",
"rev": "6d9c260743e4b645fd4b216ce1cd979d5c0dd473",
"type": "github"
},
"original": {
"owner": "synthetic-lab",
"repo": "octofriend",
"type": "github"
}
},
"root": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs",
"octofriend": "octofriend"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View file

@ -26,7 +26,7 @@
src = octofriend; src = octofriend;
# First build will fail telling you the correct value. Paste it here. # First build will fail telling you the correct value. Paste it here.
npmDepsHash = lib.fakeHash; npmDepsHash = "sha256-luAdTozvb0MTuh+xa5qhZPH8YflF9R4GtREAaR8m6Y8=";
# Ensure a modern node (octofriend is a Node CLI). :contentReference[oaicite:1]{index=1} # Ensure a modern node (octofriend is a Node CLI). :contentReference[oaicite:1]{index=1}
nodejs = pkgs.nodejs_22; nodejs = pkgs.nodejs_22;

1
appflakes/octofriend/result Symbolic link
View file

@ -0,0 +1 @@
/nix/store/i6hjy4gz5akh5x0h5pz34wl1plphdhc8-octofriend-git-6d9c260

View file

@ -2,10 +2,13 @@
{ {
inputs.octofriend-nix.url = "path:../appflakes/octofriend/flake.nix";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ])) (python3.withPackages(ps: with ps; [ pandas requests python-dotenv pip uv ]))
nodejs nodejs
putty # SSH/Telnet client putty # SSH/Telnet client
octofriend-nix.packages.x86_64-linux.default
]; ];
programs.nix-ld.enable = true; programs.nix-ld.enable = true;