2021-12-28 09:06:04 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, pkg-config
|
|
|
|
, openssl
|
|
|
|
, stdenv
|
|
|
|
, CoreServices
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
2021-12-29 00:38:30 +00:00
|
|
|
pname = "inherd-quake";
|
2022-07-29 11:53:51 +00:00
|
|
|
version = "0.5.1";
|
2021-12-28 09:06:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phodal";
|
2021-12-29 00:38:30 +00:00
|
|
|
repo = "quake";
|
2021-12-28 09:06:04 +00:00
|
|
|
rev = "v${version}";
|
2022-07-29 11:53:51 +00:00
|
|
|
sha256 = "sha256-HKAR4LJm0lrQgTOCqtYIRFbO3qHtPbr4Fpx2ek1oJ4Q=";
|
2021-12-28 09:06:04 +00:00
|
|
|
};
|
|
|
|
|
2022-07-29 11:53:51 +00:00
|
|
|
cargoSha256 = "sha256-svvtZyfN91OT3yqxH6TgFhGYg9drpXsts4p2WqSHG8w=";
|
2021-12-28 09:06:04 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
|
|
CoreServices
|
|
|
|
Security
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Knowledge management meta-framework for geeks";
|
2021-12-28 09:06:04 +00:00
|
|
|
homepage = "https://github.com/phodal/quake";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.elliot ];
|
2021-12-29 00:38:30 +00:00
|
|
|
mainProgram = "quake";
|
2021-12-28 09:06:04 +00:00
|
|
|
};
|
|
|
|
}
|