depot/third_party/nixpkgs/pkgs/misc/wiki-tui/default.nix
Default email 620eecebfb Project import generated by Copybara.
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
2021-10-28 08:52:43 +02:00

25 lines
694 B
Nix

{ 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";
};
}