diff options
author | Ivan Kozik <ivan@ludios.org> | 2018-12-13 06:53:44 +0000 |
---|---|---|
committer | Ivan Kozik <ivan@ludios.org> | 2018-12-14 22:21:36 +0000 |
commit | 33b906bacfb97182879e98bf9d8884a806c87d56 (patch) | |
tree | 8e87e178519ff76be4989b30edf724a48373b828 /pkgs/development/python-modules/ludios_wpull | |
parent | 9295ffbf8edc76c777146b6d1b65d75118f2103b (diff) | |
download | nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar.gz nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar.bz2 nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar.lz nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar.xz nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.tar.zst nixpkgs-33b906bacfb97182879e98bf9d8884a806c87d56.zip |
pythonPackages.ludios_wpull: init at 3.0.7
Diffstat (limited to 'pkgs/development/python-modules/ludios_wpull')
-rw-r--r-- | pkgs/development/python-modules/ludios_wpull/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ludios_wpull/default.nix b/pkgs/development/python-modules/ludios_wpull/default.nix new file mode 100644 index 00000000000..1c707b32031 --- /dev/null +++ b/pkgs/development/python-modules/ludios_wpull/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, isPy3k +, chardet +, dnspython +, html5-parser +, lxml +, namedlist +, sqlalchemy +, tornado_4 +, Yapsy +}: + +buildPythonPackage rec { + pname = "ludios_wpull"; + version = "3.0.7"; + + disabled = !isPy3k; + + src = fetchFromGitHub { + rev = "${version}"; + owner = "ludios"; + repo = "wpull"; + sha256 = "1j96avm0ynbazypzp766wh26n4qc73y7wgsiqfrdfl6x7rx20wgf"; + }; + + propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado_4 Yapsy ]; + + # Test suite has tests that fail on all platforms + doCheck = false; + + meta = { + description = "Web crawler; fork of wpull used by grab-site"; + homepage = https://github.com/ludios/wpull; + license = lib.licenses.gpl3; + maintainers = with lib.maintainers; [ ivan ]; + }; +} |