quake: init at 0.3.0
Update pkgs/applications/misc/inherd-quake/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com> Update pkgs/applications/misc/inherd-quake/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com> Update pkgs/applications/misc/inherd-quake/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com> Update pkgs/applications/misc/inherd-quake/default.nix Co-authored-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
parent
c749d3a90d
commit
4a578ce659
2 changed files with 43 additions and 0 deletions
39
pkgs/applications/misc/inherd-quake/default.nix
Normal file
39
pkgs/applications/misc/inherd-quake/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, CoreServices
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "quake";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phodal";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1f7k68g18g3dpnrsmhgmz753bly1i3f4lmsljiyp9ap0c6w8ahgg";
|
||||
};
|
||||
|
||||
cargoSha256 = "1yqj9rq770j116138bqn4ycggy13vvym1cz50myfddb9rjjzafrl";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1915,6 +1915,10 @@ with pkgs;
|
|||
|
||||
passExtensions = recurseIntoAttrs pass.extensions;
|
||||
|
||||
inherd-quake = callPackage ../applications/misc/inherd-quake {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
||||
xjadeo = callPackage ../tools/video/xjadeo { };
|
||||
|
||||
asc-key-to-qr-code-gif = callPackage ../tools/security/asc-key-to-qr-code-gif { };
|
||||
|
|
Loading…
Reference in a new issue