Merge pull request #208645 from legendofmiracles/update/wiki-tui

wiki-tui: 0.6.0 -> 0.6.1
This commit is contained in:
figsoda 2023-01-01 13:16:03 -05:00 committed by GitHub
commit 7b870dd5a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,41 @@
{ lib, rustPlatform, fetchFromGitHub, ncurses, openssl, pkg-config, stdenv, Security, fetchpatch }:
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, ncurses
, openssl
, pkg-config
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "wiki-tui";
version = "0.6.0";
version = "0.6.1";
src = fetchFromGitHub {
owner = "Builditluc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sqkVi8w4QoktC1ZLUPHzfMUxIzCadcIj3dEYigz854U=";
hash = "sha256-WiyRBF3rWLpOZ8mxT89ImRL++Oq9+b88oSKjr4tzCGs=";
};
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
ncurses
openssl
] ++ lib.optional stdenv.isDarwin [
Security
];
cargoSha256 = "sha256-xRj0bF5VymvFVB0tSBndWA+OHBIEY2/ovRIBdDoOHA4=";
# Tests fail with this error: `found argument --test-threads which was not expected`
doCheck = false;
cargoHash = "sha256-R9xxIDqkU7FeulpD7PUM6aHgA67PVgqxHKYtdrjdaUo=";
meta = with lib; {
description = "A simple and easy to use Wikipedia Text User Interface";
homepage = "https://github.com/builditluc/wiki-tui";
changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ lom builditluc ];
};