Unverified Commit 6c4bbeaf authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

python313Packages.construct-classes: 0.1.2 -> 0.2.2 (#441839)

parents 4245f7c2 6713f41e
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  construct,
  fetchFromGitHub,
  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 ];

@@ -31,6 +30,7 @@ buildPythonPackage rec {
  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 ];
  };