2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, sqlite
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rippkgs";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.1.1";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "replit";
|
|
|
|
repo = "rippkgs";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-k50q78ycjrFVFTDstTdOLF8aJjsUpQ3lFRbFD1nL8xM=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
cargoHash = "sha256-EQvIJXIQ6UrevNkhqMZddUde+6iNBcBTOaanimZNkaA=";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
sqlite
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI for indexing and searching packages in Nix expressions";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/replit/rippkgs";
|
|
|
|
license = lib.licenses.mit;
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = with lib.maintainers; [ cdmistman ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rippkgs";
|
|
|
|
};
|
|
|
|
}
|