mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
46 lines
963 B
Nix
46 lines
963 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
cachecontrol,
|
|
lxml-html-clean,
|
|
requests,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywebcopy";
|
|
version = "7.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rajatomar788";
|
|
repo = "pywebcopy";
|
|
rev = "v${version}";
|
|
hash = "sha256-XTPk3doF9dqImsLtTB03YKMWLzQrJpJtjNXe+691rZo=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "pywebcopy" ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
cachecontrol
|
|
lxml-html-clean
|
|
requests
|
|
six
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/rajatomar788/pywebcopy/blob/master/docs/changelog.md";
|
|
description = "Python package for cloning complete webpages and websites to local storage";
|
|
homepage = "https://github.com/rajatomar788/pywebcopy/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ d3vil0p3r ];
|
|
};
|
|
}
|