Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / helper / default.nix
blob1697c7270397e1644077f46cf847c8c01cee22d2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyyaml
5 , pytestCheckHook
6 , mock
7 }:
9 buildPythonPackage rec {
10   pname = "helper";
11   version = "2.5.0";
13   src = fetchFromGitHub {
14     owner = "gmr";
15     repo = pname;
16     rev = version;
17     sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
18   };
20   propagatedBuildInputs = [
21     pyyaml
22   ];
24   checkInputs = [
25     pytestCheckHook
26     mock
27   ];
29   pythonImportsCheck = [
30     "helper"
31     "helper.config"
32   ];
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   };