
The package doesn't have a testsuite, but fails as the checkPhase is missing appropriate locale configuration (usually taken from `pkgs.glibcLocales`). Entirely disabling the `checkPhase` for now as it's basically a no-op. ZHF: #80379 See also https://hydra.nixos.org/build/114125176
28 lines
706 B
Nix
28 lines
706 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "1.4";
|
|
pname = "wikicurses";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ids1024";
|
|
repo = "wikicurses";
|
|
rev = "v${version}";
|
|
sha256 = "0f14s4qx3q5pr5vn460c34b5mbz2xs62d8ljs3kic8gmdn8x2knm";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ urwid beautifulsoup4 lxml ];
|
|
|
|
doCheck = false;
|
|
|
|
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;
|
|
maintainers = with stdenv.lib.maintainers; [ pSub ];
|
|
};
|
|
|
|
}
|
|
|