python3Packages.python-cstruct: 6.1 -> 6.2

This commit is contained in:
Philipp Bartsch
2026-01-10 17:54:43 +01:00
parent 3998e8859e
commit cab5370690
@@ -3,18 +3,21 @@
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "cstruct";
version = "6.1";
format = "setuptools";
version = "6.2";
pyproject = true;
build-system = [ setuptools ];
src = fetchFromGitHub {
owner = "andreax79";
repo = "python-cstruct";
tag = "v${version}";
hash = "sha256-9MC6f8U++vJkglBmGMTmiamE8XqUNKTzKOz7TA148Ys=";
tag = "v${finalAttrs.version}";
hash = "sha256-jLpuvApEP8Acva/OV3ulwl4+dOy8t/cD/LFJWWnD3BM=";
};
pythonImportsCheck = [ "cstruct" ];
@@ -24,8 +27,8 @@ buildPythonPackage rec {
meta = {
description = "C-style structs for Python";
homepage = "https://github.com/andreax79/python-cstruct";
changelog = "https://github.com/andreax79/python-cstruct/blob/${src.tag}/changelog.txt";
changelog = "https://github.com/andreax79/python-cstruct/blob/${finalAttrs.src.tag}/changelog.txt";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tnias ];
};
}
})