final: prev: with prev.python39Packages; { python-wiki-fetch = buildPythonPackage rec { pname = "wik"; version = "1.2.0"; src = prev.fetchFromGitHub { owner = "yashsinghcodes"; repo = pname; rev = "b226c5d80735f419db4d641f80d8a4c99bd826d8"; sha256 = "sha256-SW0G6sHggVPFZ1NHgMDmdOEjt06xdb5QfxL3fnhQiZs="; }; checkPhase = '' cd test ${python.interpreter} test.py ''; format = "flit"; propagatedBuildInputs = [ beautifulsoup4 requests ]; meta = with prev.lib; { description = "query wikipedia articles from your terminal"; homepage = "https://github.com/yashsinghcodes/wik"; license = licenses.mit; maintainers = with maintainers; [ teutat3s ]; }; }; }