Skip to content

Commit

Permalink
rippkgs: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eclairevoyant committed Apr 18, 2024
1 parent c516acf commit 63f44f1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/ri/rippkgs/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 63f44f1

Please sign in to comment.