wiki-tui: 0.4.3 -> 0.4.4
This commit is contained in:
parent
7c23920afa
commit
32ac456825
1 changed files with 3 additions and 12 deletions
|
@ -2,34 +2,25 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wiki-tui";
|
pname = "wiki-tui";
|
||||||
version = "0.4.3";
|
version = "0.4.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Builditluc";
|
owner = "Builditluc";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-maN/0lJx6/lj3Zn+IZcPJFPPFVLbnpwxeMSTyzKYX6s=";
|
sha256 = "sha256-IkPv6oPdwfuIQrqQGqZAJ0b9OPRiA3GWDQuPXM/+fY4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# latest update forgot to include cargo.lock update
|
|
||||||
cargoPatches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Builditluc/wiki-tui/commit/87993eaca35a14afc1fb557482b099a6dd2da911.patch";
|
|
||||||
sha256 = "sha256-n04FCZwQ9pPanz9QQY/7Apyoy6lG0t/23S40p4c/TXw=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
|
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-x4oS9IBF2GMcilv9Oi/IeFaCM3sxWn7PpkKcaeSqIog=";
|
cargoSha256 = "sha256-/56KsEg6deeROERWLd9lX+7v6n5Dx1VCzdr/GtPFuGo=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A simple and easy to use Wikipedia Text User Interface";
|
description = "A simple and easy to use Wikipedia Text User Interface";
|
||||||
homepage = "https://github.com/builditluc/wiki-tui";
|
homepage = "https://github.com/builditluc/wiki-tui";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ lom ];
|
maintainers = with maintainers; [ lom ];
|
||||||
mainProgram = "wiki-tui";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue