pub-solar-os/overlays/python-wik.nix

25 lines
579 B
Nix

final: prev: with prev.python310Packages; {
python-wiki-fetch = buildPythonPackage rec {
inherit (prev.sources.wik) pname version src;
checkPhase = ''
cd test
${python.interpreter} test.py
'';
format = "flit";
propagatedBuildInputs = [
beautifulsoup4
requests
];
meta = with prev.lib; {
description = "wik is a tool to view wikipedia pages from your terminal";
homepage = "https://github.com/yashsinghcodes/wik";
license = licenses.mit;
maintainers = with maintainers; [ teutat3s ];
};
};
}