nixpkgs/pkgs/applications/misc/inherd-quake/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
812 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, stdenv
, CoreServices
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "inherd-quake";
2022-01-24 14:07:12 +00:00
version = "0.5.0";
src = fetchFromGitHub {
owner = "phodal";
repo = "quake";
rev = "v${version}";
2022-01-24 14:07:12 +00:00
sha256 = "sha256-OkgrkjO6IS6P2ZyFFbOprROPzDfQcHYCwaTKFsjjVo8=";
};
2022-01-24 14:07:12 +00:00
cargoSha256 = "sha256-EMRaChFwjMYZKSX5OvXYLSiwWo1m1H/tHVqc8RXX52A=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
CoreServices
Security
];
meta = with lib; {
description = "A knowledge management meta-framework for geeks";
homepage = "https://github.com/phodal/quake";
license = licenses.mit;
maintainers = [ maintainers.elliot ];
mainProgram = "quake";
};
}