1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pyyaml,
6 pytestCheckHook,
7 mock,
8}:
9
10buildPythonPackage rec {
11 pname = "helper";
12 version = "2.5.0";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "gmr";
17 repo = "helper";
18 rev = version;
19 sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
20 };
21
22 propagatedBuildInputs = [ pyyaml ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 mock
27 ];
28
29 pythonImportsCheck = [
30 "helper"
31 "helper.config"
32 ];
33
34 meta = with lib; {
35 description = "Development library for quickly writing configurable applications and daemons";
36 homepage = "https://helper.readthedocs.org/";
37 license = licenses.bsd3;
38 };
39}