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
|
|
|
};
|
|
|
|
|
2024-07-02 09:04:59 +00:00
|
|
|
cargoHash = "sha256-svvtZyfN91OT3yqxH6TgFhGYg9drpXsts4p2WqSHG8w=";
|
2021-12-28 09:06:04 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
openssl
|
|
|
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
|
|
CoreServices
|
|
|
|
Security
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Knowledge management meta-framework for geeks";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|