nixpkgs/pkgs/applications/networking/feedreaders/canto-curses/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

34 lines
1.2 KiB
Nix

{ lib, fetchFromGitHub, python3Packages, readline, ncurses, canto-daemon }:
python3Packages.buildPythonApplication rec {
version = "0.9.9";
pname = "canto-curses";
src = fetchFromGitHub {
owner = "themoken";
repo = "canto-curses";
rev = "v${version}";
sha256 = "1vzb9n1j4gxigzll6654ln79lzbrrm6yy0lyazd9kldyl349b8sr";
};
buildInputs = [ readline ncurses canto-daemon ];
propagatedBuildInputs = [ canto-daemon ];
meta = {
description = "An ncurses-based console Atom/RSS feed reader";
mainProgram = "canto-curses";
longDescription = ''
Canto is an Atom/RSS feed reader for the console that is meant to be
quick, concise, and colorful. It's meant to allow you to crank through
feeds like you've never cranked before by providing a minimal, yet
information packed interface. No navigating menus. No dense blocks of
unreadable white text. An interface with almost infinite customization
and extensibility using the excellent Python programming language.
'';
homepage = "https://codezen.org/canto-ng/";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.devhell ];
};
}