bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
36 lines
751 B
Nix
36 lines
751 B
Nix
{ 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 = "CLI for indexing and searching packages in Nix expressions";
|
|
homepage = "https://github.com/replit/rippkgs";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ eclairevoyant cdmistman ];
|
|
mainProgram = "rippkgs";
|
|
};
|
|
}
|