os/overlays/python-wik.nix

25 lines
579 B
Nix
Raw Normal View History

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