2021-02-07 02:22:17 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pyyaml
|
|
|
|
, pytestCheckHook
|
|
|
|
, mock
|
|
|
|
}:
|
2018-10-16 03:36:16 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "helper";
|
2021-02-05 17:59:33 +00:00
|
|
|
version = "2.5.0";
|
2018-10-16 03:36:16 +00:00
|
|
|
|
2021-02-07 02:22:17 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gmr";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
|
2018-10-16 03:36:16 +00:00
|
|
|
};
|
|
|
|
|
2021-02-07 02:22:17 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
];
|
2018-10-16 03:36:16 +00:00
|
|
|
|
2021-02-07 02:22:17 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
mock
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"helper"
|
|
|
|
"helper.config"
|
|
|
|
];
|
2018-10-16 03:36:16 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 03:36:16 +00:00
|
|
|
description = "Development library for quickly writing configurable applications and daemons";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://helper.readthedocs.org/";
|
2018-10-16 03:36:16 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|