os/overlays/python-wik.nix

33 lines
804 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 {
2022-07-07 20:25:14 +00:00
pname = "wik-unstable";
version = "2022-03-04";
2022-02-25 12:31:45 +00:00
src = prev.fetchFromGitHub {
owner = "yashsinghcodes";
2022-07-07 20:25:14 +00:00
repo = "wik";
rev = "aca76040770543a55b8fb0574901bf52df099c34";
sha256 = "sha256-qFNRzgXFyOgIvtNKR+7NG5lvQObjgezfRaloA7VH9Lc=";
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
};
}