default.nix (689B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "lazyscraper"; 5 version = "2020-05-19"; 6 7 src = fetchFromGitHub { 8 owner = "ivbeg"; 9 repo = "lazyscraper"; 10 rev = "2e14bd829311cde19ef32d7f0e11c3c4a3c08e1b"; 11 hash = "sha256-gnhJB+ZMKQIYZNHMeRrlICgz5UhyHy72Js/I4kbp8Qo="; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ click lxml requests ]; 15 16 postInstall = "mv $out/bin/lscraper.py $out/bin/lscraper"; 17 18 meta = with lib; { 19 description = "Lazy helper tool to make easier scraping with simple tasks"; 20 inherit (src.meta) homepage; 21 license = licenses.asl20; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }