python313Packages.construct-classes: 0.1.2 -> 0.2.2

Changelog: https://github.com/matejcik/construct-classes/blob/v0.2.2/CHANGELOG.rst

Changed files
+9 -9
pkgs
development
python-modules
construct-classes
+9 -9
pkgs/development/python-modules/construct-classes/default.nix
···
{
lib,
buildPythonPackage,
+
construct,
fetchFromGitHub,
-
poetry-core,
-
construct,
pytestCheckHook,
+
uv-build,
}:
buildPythonPackage rec {
pname = "construct-classes";
-
version = "0.1.2";
-
format = "pyproject";
+
version = "0.2.2";
+
pyproject = true;
-
# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "matejcik";
repo = "construct-classes";
-
rev = "v${version}";
-
hash = "sha256-l4sVacKTuQbhXCw2lVHCl1OzpCiKmEAm9nSQ8pxFuTo=";
+
tag = "v${version}";
+
hash = "sha256-goOQMt/nVjWXYltpnKHtJaLOhR+gRTmtoUh7zVb7go4=";
};
-
nativeBuildInputs = [ poetry-core ];
+
build-system = [ uv-build ];
-
propagatedBuildInputs = [ construct ];
+
dependencies = [ construct ];
nativeCheckInputs = [ pytestCheckHook ];
···
meta = with lib; {
description = "Parse your binary data into dataclasses";
homepage = "https://github.com/matejcik/construct-classes";
+
changelog = "https://github.com/matejcik/construct-classes/blob/${src.tag}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ prusnak ];
};