Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
951 B
Nix
51 lines
951 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
installShellFiles,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
version = "1.4";
|
|
format = "setuptools";
|
|
pname = "wikicurses";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ids1024";
|
|
repo = "wikicurses";
|
|
rev = "v${version}";
|
|
sha256 = "0f14s4qx3q5pr5vn460c34b5mbz2xs62d8ljs3kic8gmdn8x2knm";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
installShellFiles
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
urwid
|
|
beautifulsoup4
|
|
lxml
|
|
];
|
|
|
|
postInstall = ''
|
|
installManPage wikicurses.1 wikicurses.conf.5
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Simple curses interface for MediaWiki sites such as Wikipedia";
|
|
mainProgram = "wikicurses";
|
|
homepage = "https://github.com/ids1024/wikicurses/";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ pSub ];
|
|
};
|
|
|
|
}
|