nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 819 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7# unstable was chosen because of an added Cargo.lock 8# revert to stable for the version after 0.9.0 9let 10 version = "unstable-2022-06-25"; 11in 12rustPlatform.buildRustPackage { 13 pname = "lnx"; 14 inherit version; 15 src = fetchFromGitHub { 16 owner = "lnx-search"; 17 repo = "lnx"; 18 rev = "2cb80f344c558bfe37f21ccfb83265bf351419d9"; 19 sha256 = "sha256-iwoZ6xRzEDArmhWYxIrbIXRTQjOizyTsXCvMdnUrs2g="; 20 }; 21 22 cargoHash = "sha256-9fro1Dx7P+P9NTsg0gtMfr0s4TEpkZA31EFAnObiNFo="; 23 meta = { 24 description = "Ultra-fast, adaptable deployment of the tantivy search engine via REST"; 25 mainProgram = "lnx"; 26 homepage = "https://lnx.rs/"; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ happysalada ]; 29 platforms = lib.platforms.unix; 30 }; 31}