summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/anchor-kr/default.nix
blob: 563589c651f00f467941aec256a6ac83b6e9d893 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:
buildPythonPackage {
  pname = "anchor-kr";
  version = "0.1.3";
  pyproject = true;

  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=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "anchor" ];

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