diff options
author | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-04-18 15:09:05 -0400 |
---|---|---|
committer | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-04-18 15:10:52 -0400 |
commit | 63f44f177df8f54ec70b1d5d3ada0c253ab95957 (patch) | |
tree | 7a1624f07a5831d76b61681db8b1bfc4780feed8 | |
parent | c516acf6b5767d338415b4a81f54a5e4f78259e8 (diff) |
rippkgs: init at 1.1.0
-rw-r--r-- | pkgs/by-name/ri/rippkgs/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/ri/rippkgs/package.nix b/pkgs/by-name/ri/rippkgs/package.nix new file mode 100644 index 000000000000..ef985a970d7f --- /dev/null +++ b/pkgs/by-name/ri/rippkgs/package.nix @@ -0,0 +1,36 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, sqlite +}: + +rustPlatform.buildRustPackage rec { + pname = "rippkgs"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "replit"; + repo = "rippkgs"; + rev = "refs/tags/v${version}"; + hash = "sha256-qQZnD9meczfsQv1R68IiUfPq730I2IyesurrOhtA3es="; + }; + + cargoHash = "sha256-hGSHgJ2HVCNqTBsTQIZlSE89FKqdMifuJyAGl3utF2I="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + sqlite + ]; + + meta = { + description = "A CLI for indexing and searching packages in Nix expressions"; + homepage = "https://github.com/replit/rippkgs"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ eclairevoyant ]; + mainProgram = "rippkgs"; + }; +} |