default.nix (737B)
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 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "siznax"; 14 repo = "wptools"; 15 rev = "a98a544f206a62c9f04fd34c0805825a8d531936"; 16 hash = "sha256-l1sCEhveK9fefZY6tL/kh2bOcq4ids4HZu6pXvn17AA="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 certifi 23 html2text 24 lxml 25 requests 26 ]; 27 28 doCheck = false; 29 30 meta = { 31 description = "Wikipedia tools (for Humans)"; 32 homepage = "https://github.com/siznax/wptools"; 33 license = lib.licenses.mit; 34 maintainers = [ lib.maintainers.sikmir ]; 35 }; 36 }