NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.58k stars 13.74k forks source link

Package request: yacy - distributed search engine #124254

Open raspher opened 3 years ago

raspher commented 3 years ago

Project description A distributed, P2P, search engine. You can crawl web pages and search for them, results can depend on configuration (local search, remote search, etc).

decentralized, all users are equal, no central, no search request storage, shared index

Metadata

milahu commented 1 year ago

https://github.com/milahu/nur-packages/blob/master/pkgs/yacy/yacy.nix

jmikedupont2 commented 6 months ago

https://github.com/milahu/nur-packages/blob/master/pkgs/yacy/yacy.nix

Ok I tried this, how does it work?

  nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";  \
   pkgs = import nixpkgs { config = {}; overlays = []; };
in
{
  hello = pkgs.callPackage ./yacy.nix { };
}

added that and called nix-shell it created things but no output. I looked at the code and I find todos. it this work in progress?

spitzeqc commented 6 months ago

@jmikedupont2 I created an updated version based off milahu's derivation. You can install it as a standard NUR package (nur.repos.spitzeqc.yacy), or as a service

let
  nur-no-pkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {};
in
{
  imports = [ nur-no-pkgs.repos.spitzeqc.modules.yacy ];
  services.yacy.enable = true;
}
CutestNekoAqua commented 4 months ago

@jmikedupont2 I created an updated version based off milahu's derivation. You can install it as a standard NUR package (nur.repos.spitzeqc.yacy), or as a service

let
  nur-no-pkgs = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {};
in
{
  imports = [ nur-no-pkgs.repos.spitzeqc.modules.yacy ];
  services.yacy.enable = true;
}

hmm do we wanna upstream this?