nixpkgs/pkgs/applications/misc/wikicurses/default.nix

26 lines
686 B
Nix
Raw Normal View History

2018-07-12 20:53:48 +01:00
{ stdenv, fetchFromGitHub, pythonPackages }:
2016-07-19 07:47:43 +01:00
pythonPackages.buildPythonApplication rec {
2018-07-12 20:53:48 +01:00
version = "1.4";
pname = "wikicurses";
2016-07-19 07:47:43 +01:00
2018-07-12 20:53:48 +01:00
src = fetchFromGitHub {
owner = "ids1024";
repo = "wikicurses";
rev = "v${version}";
sha256 = "0f14s4qx3q5pr5vn460c34b5mbz2xs62d8ljs3kic8gmdn8x2knm";
2016-07-19 07:47:43 +01:00
};
propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];
meta = {
description = "A simple curses interface for MediaWiki sites such as Wikipedia";
homepage = https://github.com/ids1024/wikicurses/;
2016-07-19 07:47:43 +01:00
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
2018-07-12 20:53:48 +01:00
maintainers = with stdenv.lib.maintainers; [ pSub ];
2016-07-19 07:47:43 +01:00
};
}