depot/third_party/nixpkgs/pkgs/development/python-modules/helper/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

40 lines
706 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyyaml
, pytestCheckHook
, mock
}:
buildPythonPackage rec {
pname = "helper";
version = "2.5.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "gmr";
repo = pname;
rev = version;
sha256 = "0zypjv8rncvrsgl200v7d3bn08gs48dwqvgamfqv71h07cj6zngp";
};
propagatedBuildInputs = [
pyyaml
];
nativeCheckInputs = [
pytestCheckHook
mock
];
pythonImportsCheck = [
"helper"
"helper.config"
];
meta = with lib; {
description = "Development library for quickly writing configurable applications and daemons";
homepage = "https://helper.readthedocs.org/";
license = licenses.bsd3;
};
}