Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "frece"; 5 version = "1.0.6"; 6 7 src = fetchFromGitHub { 8 owner = "YodaEmbedding"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-CAiIqT5KuzrqbV9FVK3nZUe8MDs2KDdsKplJMI7rN9w="; 12 }; 13 14 cargoSha256 = "sha256-eLN917L6l0vUWlAn3ROKrRdtyqaaMKjBQD2tEGWECUU="; 15 16 meta = with lib; { 17 description = "Maintain a database sorted by frecency (frequency + recency)"; 18 homepage = "https://github.com/YodaEmbedding/frece"; 19 license = licenses.mit; 20 platforms = platforms.linux; 21 maintainers = with maintainers; [ WeebSorceress ]; 22 }; 23}