Files
nixpkgs/pkgs/development/python-modules/helper/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
705 B
Nix

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