nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (717B)


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