Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5}:
6
7python3Packages.buildPythonApplication rec {
8 version = "0.9.8";
9 format = "pyproject";
10 pname = "canto-daemon";
11
12 src = fetchFromGitHub {
13 owner = "themoken";
14 repo = "canto-next";
15 rev = "v${version}";
16 sha256 = "0fmsdn28z09bvivdkqcla5bnalky7k744iir25z70bv4pz1jcvnk";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 dependencies = with python3Packages; [ feedparser ];
22
23 doCheck = false;
24
25 pythonImportsCheck = [ "canto_next" ];
26
27 meta = with lib; {
28 description = "Daemon for the canto Atom/RSS feed reader";
29 longDescription = ''
30 Canto is an Atom/RSS feed reader for the console that is meant to be
31 quick, concise, and colorful. It's meant to allow you to crank through
32 feeds like you've never cranked before by providing a minimal, yet
33 information packed interface. No navigating menus. No dense blocks of
34 unreadable white text. An interface with almost infinite customization
35 and extensibility using the excellent Python programming language.
36 '';
37 homepage = "https://codezen.org/canto-ng/";
38 license = licenses.gpl2;
39 platforms = platforms.linux;
40 maintainers = with maintainers; [ devhell ];
41 };
42}