lnx: init at unstable 2022-06-25

authored by happysalada and committed by Yt 2a04d4cb e3a687a9

+35
+31
pkgs/servers/search/lnx/default.nix
··· 1 + { stdenv 2 + , lib 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , DiskArbitration 6 + , Foundation 7 + }: 8 + 9 + # unstable was chosen because of an added Cargo.lock 10 + # revert to stable for the version after 0.9.0 11 + let version = "unstable-2022-06-25"; 12 + in 13 + rustPlatform.buildRustPackage { 14 + pname = "lnx"; 15 + inherit version; 16 + src = fetchFromGitHub { 17 + owner = "lnx-search"; 18 + repo = "lnx"; 19 + rev = "2cb80f344c558bfe37f21ccfb83265bf351419d9"; 20 + sha256 = "sha256-iwoZ6xRzEDArmhWYxIrbIXRTQjOizyTsXCvMdnUrs2g="; 21 + }; 22 + cargoSha256 = "sha256-JpsZ37u3+4+X8knTxoGmJisopTsPR221rv3Bu4DMZZI="; 23 + buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ]; 24 + meta = with lib; { 25 + description = "Insanely fast, Feature-rich searching. lnx is the adaptable, typo tollerant deployment of the tantivy search engine. Standing on the shoulders of giants. "; 26 + homepage = "https://lnx.rs/"; 27 + license = licenses.mit; 28 + maintainers = with maintainers; [ happysalada ]; 29 + platforms = platforms.unix; 30 + }; 31 + }
+4
pkgs/top-level/all-packages.nix
··· 7709 7709 7710 7710 lnch = callPackage ../tools/misc/lnch { }; 7711 7711 7712 + lnx = callPackage ../servers/search/lnx { 7713 + inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation; 7714 + }; 7715 + 7712 7716 loadlibrary = callPackage ../tools/misc/loadlibrary { }; 7713 7717 7714 7718 loc = callPackage ../development/misc/loc { };