mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
outfieldr: init at 1.1.0
This commit is contained in:
34
pkgs/by-name/ou/outfieldr/package.nix
Normal file
34
pkgs/by-name/ou/outfieldr/package.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
stdenv,
|
||||
zig_0_14,
|
||||
}:
|
||||
|
||||
let
|
||||
zig = zig_0_14;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "outfieldr";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ve-nt";
|
||||
repo = "outfieldr";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-Xz5BxwPWrZfDsWnvVR9KvHidbUdPsxy7b2ONiSZY+uk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig.hook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "TLDR client written in Zig";
|
||||
homepage = "https://gitlab.com/ve-nt/outfieldr";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hasnep ];
|
||||
mainProgram = "tldr";
|
||||
inherit (zig.meta) platforms;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user