1 { lib, fetchFromGitHub, pythonPackages }:
3 pythonPackages.buildPythonApplication rec {
7 src = fetchFromGitHub {
11 sha256 = "0f14s4qx3q5pr5vn460c34b5mbz2xs62d8ljs3kic8gmdn8x2knm";
14 outputs = [ "out" "man" ];
16 propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];
19 mkdir -p $man/share/man/man{1,5}
20 cp wikicurses.1 $man/share/man/man1/
21 cp wikicurses.conf.5 $man/share/man/man5/
27 description = "Simple curses interface for MediaWiki sites such as Wikipedia";
28 mainProgram = "wikicurses";
29 homepage = "https://github.com/ids1024/wikicurses/";
30 license = lib.licenses.mit;
31 platforms = lib.platforms.unix;
32 maintainers = with lib.maintainers; [ pSub ];