wiki-tui: init at unstable-2021-10-20

conduit-nginx
legendofmiracles 2021-10-09 19:50:44 -06:00
parent 31f04fec3c
commit 6705114e50
No known key found for this signature in database
GPG Key ID: 19B082B3DEFE5451
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, rustPlatform, fetchCrate, ncurses, openssl, pkg-config }:
rustPlatform.buildRustPackage rec {
pname = "wiki-tui";
version = "0.3.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-H+C1AbZ2zUhw6TNlSPaNaNuY5iNf39JW4q2g6uolevM=";
};
buildInputs = [ ncurses openssl ];
nativeBuildInputs = [ pkg-config ];
cargoSha256 = "sha256-PIt592nGtNEREQMukqRl/6KSJ/P32fWucHEMyOOc7BA=";
meta = with lib; {
description = "A simple and easy to use Wikipedia Text User Interface";
homepage = "https://github.com/builditluc/wiki-tui";
license = licenses.mit;
maintainers = with maintainers; [ legendofmiracles ];
mainProgram = "wiki-tui";
};
}

View File

@ -32438,6 +32438,8 @@ with pkgs;
wiki-js = callPackage ../servers/web-apps/wiki-js { };
wiki-tui = callPackage ../misc/wiki-tui { };
winePackagesFor = wineBuild: lib.makeExtensible (self: with self; {
callPackage = newScope self;