Unverified Commit 42bbbc2e authored by Matthias Beyer's avatar Matthias Beyer
Browse files

lobtui: init at 0.3.1

parent f6e67a84
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
  openssl,
}:

rustPlatform.buildRustPackage rec {
  pname = "lobtui";
  version = "0.3.1";

  src = fetchFromGitHub {
    owner = "pythops";
    repo = "lobtui";
    rev = "v${version}";
    hash = "sha256-Ig/KdCuQZYSiCydouN29IsIRKh8qngtzcOknTozDRRM=";
  };

  cargoHash = "sha256-Cj6hf/dizIv2pKbQvyRqqIz5k3AW3cdfpCaIHvk8G9o=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
  ];

  meta = {
    description = "TUI for lobste.rs website";
    homepage = "https://github.com/pythops/lobtui";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [
      matthiasbeyer
    ];
    mainProgram = "lobtui";
    platforms = lib.platforms.linux;
  };
}