1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7buildPythonPackage {
8 pname = "anchor-kr";
9 version = "0.1.3";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "justfoolingaround";
14 repo = "anchor";
15 # Using the commit hash because upstream does not have releases. https://github.com/justfoolingaround/anchor/issues/1
16 rev = "4cedb6a51877ed3a292cad61eb19013382915e86";
17 hash = "sha256-t75IFBSz6ncHRqXRxbrM9EQdr8xPXjSd9di+/y2LegE=";
18 };
19
20 build-system = [ setuptools ];
21
22 pythonImportsCheck = [ "anchor" ];
23
24 meta = {
25 description = "Python library for scraping";
26 homepage = "https://github.com/justfoolingaround/anchor";
27 license = lib.licenses.unfree;
28 maintainers = with lib.maintainers; [ passivelemon ];
29 };
30}