default.nix (661B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage { 8 pname = "wptools"; 9 version = "0.4.17-unstable-2022-02-22"; 10 11 src = fetchFromGitHub { 12 owner = "siznax"; 13 repo = "wptools"; 14 rev = "a98a544f206a62c9f04fd34c0805825a8d531936"; 15 hash = "sha256-l1sCEhveK9fefZY6tL/kh2bOcq4ids4HZu6pXvn17AA="; 16 }; 17 18 dependencies = with python3Packages; [ 19 certifi 20 html2text 21 lxml 22 requests 23 ]; 24 25 doCheck = false; 26 27 meta = { 28 description = "Wikipedia tools (for Humans)"; 29 homepage = "https://github.com/siznax/wptools"; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.sikmir ]; 32 }; 33 }