python3Packages.backrefs: init at 5.9

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Pol Dellaiera
2025-07-25 21:56:11 +02:00
co-authored by Gaétan Lepage
parent 71d8c89d62
commit a0739140fd
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
regex,
}:
buildPythonPackage rec {
pname = "backrefs";
version = "5.9";
pyproject = true;
src = fetchFromGitHub {
owner = "facelessuser";
repo = "backrefs";
tag = version;
hash = "sha256-W75JLoBn990PoO3Ej3nb3BjOGm0c71o8hDDBUFWr8i4=";
};
build-system = [
hatchling
];
pythonImportsCheck = [ "backrefs" ];
nativeCheckInputs = [
pytestCheckHook
regex
];
meta = {
description = "Wrapper around re or regex that adds additional back references";
homepage = "https://github.com/facelessuser/backrefs";
changelog = "https://github.com/facelessuser/backrefs/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
};
}
+2
View File
@@ -1635,6 +1635,8 @@ self: super: with self; {
backports-tarfile = callPackage ../development/python-modules/backports-tarfile { };
backrefs = callPackage ../development/python-modules/backrefs { };
backtesting = callPackage ../development/python-modules/backtesting { };
bacpypes = callPackage ../development/python-modules/bacpypes { };