f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
36 lines
751 B
Nix
36 lines
751 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, sqlite
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rippkgs";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "replit";
|
|
repo = "rippkgs";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-k50q78ycjrFVFTDstTdOLF8aJjsUpQ3lFRbFD1nL8xM=";
|
|
};
|
|
|
|
cargoHash = "sha256-EQvIJXIQ6UrevNkhqMZddUde+6iNBcBTOaanimZNkaA=";
|
|
|
|
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";
|
|
};
|
|
}
|