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