default.nix (715B)
1 { lib, stdenv, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "wik"; 5 version = "1.4.0"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "yashsinghcodes"; 10 repo = "wik"; 11 rev = "37207e7cf2955c494a55701cb81d388cc349b6ea"; 12 hash = "sha256-oSHL3jYFuvJY1W7N9/CvFClFakz9f35RHg77AbMRfsI="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ flit ]; 16 17 propagatedBuildInputs = with python3Packages; [ beautifulsoup4 requests ]; 18 19 meta = with lib; { 20 description = "wik is use to get information about anything on the shell using Wikipedia"; 21 inherit (src.meta) homepage; 22 license = licenses.mit; 23 maintainers = [ maintainers.sikmir ]; 24 }; 25 }