summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/miniflux/default.nix
blob: 1a847608f7ac09c96056024608b2e163c902cd4f (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
31
32
33
34
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  requests,
  pytestCheckHook,
}:
buildPythonPackage rec {
  pname = "miniflux";
  version = "1.1.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "miniflux";
    repo = "python-client";
    tag = version;
    hash = "sha256-SCam8WiQH0cOUcqMMvhNDaNPGs7hi1RP4x4eoa5WIa4=";
  };
  build-system = [ setuptools ];

  dependencies = [ requests ];

  pythonImportsCheck = [ "miniflux" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Miniflux Python API Client";
    homepage = "https://github.com/miniflux/python-client";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ wariuccio ];
  };
}