python3Packages.pyxbe: 1.0.3 -> 1.0.4

Diff: https://github.com/mborgerson/pyxbe/compare/v1.0.3...v1.0.4
This commit is contained in:
Fabian Affolter
2026-06-13 15:16:05 +02:00
parent eb33bdcf1d
commit 22a42983e5
@@ -2,35 +2,36 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-cov-stub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyxbe";
version = "1.0.3";
format = "setuptools";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "mborgerson";
repo = "pyxbe";
tag = "v${version}";
hash = "sha256-iLzGGgizUbaEG1xrNq4WDaWrGtcaLwAYgn4NGYiSDBo=";
hash = "sha256-MtkY4vwPvlYoS4ws8MzIFR8D6ORVqFXA0JvOEspzmtQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
build-system = [ setuptools ];
# Update location for run with pytest
preCheck = ''
substituteInPlace tests/test_load.py \
--replace '"xbefiles"' '"tests/xbefiles"'
'';
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "xbe" ];
meta = {
description = "Library to work with XBE files";
homepage = "https://github.com/mborgerson/pyxbe";
license = with lib.licenses; [ mit ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}