nixpkgs/pkgs/development/python-modules/flexparser/default.nix
Martin Weinelt e11f6b4260 python3Packages.pytest-subtests: drop
The plugin's functionaltiy is now part of pytest 9 and the the plugin
itself has been archived.
2026-02-01 16:40:29 +01:00

51 lines
948 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
setuptools-scm,
# dependencies
typing-extensions,
# checks
pytestCheckHook,
pytest-mpl,
}:
buildPythonPackage rec {
pname = "flexparser";
version = "0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "hgrecco";
repo = "flexparser";
rev = version;
hash = "sha256-0Ocp4GsrnzkpSqnP+AK5OxJ3KyUf5Uc6CegDXpRYRqo=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
pytestCheckHook
pytest-mpl
];
pythonImportsCheck = [ "flexparser" ];
meta = {
description = "Parsing made fun ... using typing";
homepage = "https://github.com/hgrecco/flexparser";
changelog = "https://github.com/hgrecco/flexparser/blob/${src.rev}/CHANGES";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ doronbehar ];
};
}