1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyyaml
5, pytestCheckHook
6, mock
7}:
8
9buildPythonPackage rec {
10 pname = "helper";
11 version = "2.5.0";
12
13 src = fetchFromGitHub {
14 owner = "gmr";
15 repo = pname;
16 rev = version;
17 sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
18 };
19
20 propagatedBuildInputs = [
21 pyyaml
22 ];
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}