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