Commit 3fae5c93 authored by PassiveLemon's avatar PassiveLemon
Browse files

anchor: init at 3

parent 62beb3db
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ lib,
  buildPythonPackage,
  fetchFromGitHub
}:
buildPythonPackage {
  pname = "anchor";
  version = "3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "justfoolingaround";
    repo = "anchor";
    # Using the commit hash because upstream does not have releases. https://github.com/justfoolingaround/anchor/issues/1
    rev = "4cedb6a51877ed3a292cad61eb19013382915e86";
    hash = "sha256-t75IFBSz6ncHRqXRxbrM9EQdr8xPXjSd9di+/y2LegE=";
  };

  pythonImportsCheck = [ "anchor" ];

  meta = with lib; {
    description = "Python library for scraping";
    homepage = "https://github.com/justfoolingaround/anchor";
    license = licenses.unfree;
    maintainers = with maintainers; [ passivelemon ];
  };
}