about summary refs log tree commit diff
path: root/pkgs/applications/misc/wikicurses/default.nix
blob: 54e56785071d2fcee7ebb1d263b9f6013ae6a511 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  version = "1.3";
  name = "wikicurses-${version}";

  src = fetchurl {
    url = "http://github.com/ids1024/wikicurses/archive/v${version}.tar.gz";
    sha256 = "1yxgafk1sczg1xi2p6nhrvr3hchp7ydw98n48lp3qzwnryn1kxv8";
  };

  propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];

  meta = {
    description = "A simple curses interface for MediaWiki sites such as Wikipedia";
    homepage = "https://github.com/ids1024/wikicurses/";
    license = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.unix;
  };

}