summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/ta/taizen/package.nix
blob: cee2f858b382c7c1898b401d9c525e9961ec72bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  fetchpatch2,
  pkg-config,
  ncurses,
  openssl,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "taizen";
  version = "0-unstable-2024-11-16";

  src = fetchFromGitHub {
    owner = "oppiliappan";
    repo = "taizen";
    rev = "e57f10845d32d51e78c5bbadf9c40780a0fa2481";
    hash = "sha256-5XLRANBRtT8LyyS4EhKgZS+Hc3xFg/+N3rZJTVvVrpo=";
  };

  cargoHash = "sha256-kK9na2Pk3Hl4TYYVVUfeBv6DDDkrD7mIv7eVHXkS5QY=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [
    ncurses
    openssl
  ];

  meta = {
    description = "Curses-based mediawiki browser";
    homepage = "https://github.com/oppiliappan/taizen";
    maintainers = with lib.maintainers; [ liberodark ];
    license = lib.licenses.mit;
    mainProgram = "taizen";
  };
})