Files
nixpkgs/pkgs/development/python-modules/convertertools/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

52 lines
976 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
# build-system
cython,
poetry-core,
setuptools,
# checks
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "convertertools";
version = "0.6.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "bluetooth-devices";
repo = "convertertools";
tag = "v${version}";
hash = "sha256-Oy1Nf/mS2Lr2N7OB27QDlW+uuhafib2kolEXzXLppWU=";
};
build-system = [
cython
poetry-core
setuptools
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "convertertools" ];
meta = {
description = "Tools for converting python data types";
homepage = "https://github.com/bluetooth-devices/convertertools";
changelog = "https://github.com/bluetooth-devices/convertertools/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}