python313Packages.dissect-cstruct: 4.3 -> 4.5 (#411213)

This commit is contained in:
Fabian Affolter
2025-05-26 21:30:39 +02:00
committed by GitHub
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
setuptools,
setuptools-scm,
pytestCheckHook,
@@ -11,7 +10,7 @@
buildPythonPackage rec {
pname = "dissect-cstruct";
version = "4.3";
version = "4.5";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -20,17 +19,9 @@ buildPythonPackage rec {
owner = "fox-it";
repo = "dissect.cstruct";
tag = version;
hash = "sha256-Y6maLjugnso3cc9zyiZ/6AdrftYAAImYNBDXPJdTuWc=";
hash = "sha256-2n7y6nHt7gJtJeJIKpobiC7A+dnD6O/o+psinfOnvT8=";
};
patches = [
(fetchpatch {
name = "fix-test_types_enum.patch";
url = "https://github.com/fox-it/dissect.cstruct/commit/b6c73136828fc2ae59b51d1f68529002d7c37131.diff";
hash = "sha256-hicMolFu/qAw9QkOyug4PNm2Do2PxuXNXPB+/JHOaFg=";
})
];
build-system = [
setuptools
setuptools-scm
@@ -43,7 +34,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Dissect module implementing a parser for C-like structures";
homepage = "https://github.com/fox-it/dissect.cstruct";
changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${version}";
changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${src.tag}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};