Skip to content

Commit 6c4bbea

Browse files
authored
python313Packages.construct-classes: 0.1.2 -> 0.2.2 (#441839)
2 parents 4245f7c + 6713f41 commit 6c4bbea

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

  • pkgs/development/python-modules/construct-classes

pkgs/development/python-modules/construct-classes/default.nix

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchFromGitHub,
5-
poetry-core,
64
construct,
5+
fetchFromGitHub,
76
pytestCheckHook,
7+
uv-build,
88
}:
99

1010
buildPythonPackage rec {
1111
pname = "construct-classes";
12-
version = "0.1.2";
13-
format = "pyproject";
12+
version = "0.2.2";
13+
pyproject = true;
1414

15-
# no tests in PyPI tarball
1615
src = fetchFromGitHub {
1716
owner = "matejcik";
1817
repo = "construct-classes";
19-
rev = "v${version}";
20-
hash = "sha256-l4sVacKTuQbhXCw2lVHCl1OzpCiKmEAm9nSQ8pxFuTo=";
18+
tag = "v${version}";
19+
hash = "sha256-goOQMt/nVjWXYltpnKHtJaLOhR+gRTmtoUh7zVb7go4=";
2120
};
2221

23-
nativeBuildInputs = [ poetry-core ];
22+
build-system = [ uv-build ];
2423

25-
propagatedBuildInputs = [ construct ];
24+
dependencies = [ construct ];
2625

2726
nativeCheckInputs = [ pytestCheckHook ];
2827

@@ -31,6 +30,7 @@ buildPythonPackage rec {
3130
meta = with lib; {
3231
description = "Parse your binary data into dataclasses";
3332
homepage = "https://github.com/matejcik/construct-classes";
33+
changelog = "https://github.com/matejcik/construct-classes/blob/${src.tag}/CHANGELOG.rst";
3434
license = licenses.mit;
3535
maintainers = with maintainers; [ prusnak ];
3636
};

0 commit comments

Comments
 (0)