Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 45 lines 963 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 pytestCheckHook, 6 setuptools, 7 cachecontrol, 8 lxml-html-clean, 9 requests, 10 six, 11}: 12 13buildPythonPackage rec { 14 pname = "pywebcopy"; 15 version = "7.0.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "rajatomar788"; 20 repo = "pywebcopy"; 21 rev = "v${version}"; 22 hash = "sha256-XTPk3doF9dqImsLtTB03YKMWLzQrJpJtjNXe+691rZo="; 23 }; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 pythonImportsCheck = [ "pywebcopy" ]; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 cachecontrol 33 lxml-html-clean 34 requests 35 six 36 ]; 37 38 meta = { 39 changelog = "https://github.com/rajatomar788/pywebcopy/blob/master/docs/changelog.md"; 40 description = "Python package for cloning complete webpages and websites to local storage"; 41 homepage = "https://github.com/rajatomar788/pywebcopy/"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ d3vil0p3r ]; 44 }; 45}