2021-01-17 03:09:27 +01:00
|
|
|
{ rustPlatform, lib, fetchFromGitHub, ncurses, openssl, pkg-config, Security, stdenv }:
|
2019-12-05 22:15:00 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "taizen";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NerdyPepper";
|
|
|
|
repo = pname;
|
|
|
|
rev = "5c1876429e2da7424e9d31b1e16f5a3147cc58d0";
|
|
|
|
sha256 = "09izgx7icvizskdy9kplk0am61p7550fsd0v42zcihq2vap2j92z";
|
|
|
|
};
|
|
|
|
|
2019-12-28 15:00:44 +01:00
|
|
|
buildInputs = [ ncurses openssl ] ++ lib.optional stdenv.isDarwin Security;
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-12-05 22:15:00 +01:00
|
|
|
|
2020-02-16 09:58:11 +01:00
|
|
|
cargoSha256 = "0chrgwm97y1a3gj218x25yqk1y1h74a6gzyxjdm023msvs58nkni";
|
2019-12-05 22:15:00 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://crates.io/crates/taizen";
|
2019-12-05 22:15:00 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
description = "curses based mediawiki browser";
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|