PageRenderTime 84ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/pkgs/development/python-modules/ludios_wpull/default.nix

https://codeberg.org/matthiasbeyer/nixpkgs
Nix | 39 lines | 33 code | 6 blank | 0 comment | 0 complexity | 90402869833a7bbdb54dfcabca2a6eeb MD5 | raw file
  1. { lib
  2. , buildPythonPackage
  3. , fetchFromGitHub
  4. , isPy3k
  5. , chardet
  6. , dnspython
  7. , html5-parser
  8. , lxml
  9. , namedlist
  10. , sqlalchemy
  11. , tornado_4
  12. , Yapsy
  13. }:
  14. buildPythonPackage rec {
  15. pname = "ludios_wpull";
  16. version = "3.0.7";
  17. disabled = !isPy3k;
  18. src = fetchFromGitHub {
  19. rev = version;
  20. owner = "ludios";
  21. repo = "wpull";
  22. sha256 = "1j96avm0ynbazypzp766wh26n4qc73y7wgsiqfrdfl6x7rx20wgf";
  23. };
  24. propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado_4 Yapsy ];
  25. # Test suite has tests that fail on all platforms
  26. doCheck = false;
  27. meta = {
  28. description = "Web crawler; fork of wpull used by grab-site";
  29. homepage = "https://github.com/ludios/wpull";
  30. license = lib.licenses.gpl3;
  31. maintainers = with lib.maintainers; [ ivan ];
  32. };
  33. }