Files
nixpkgs/pkgs/development/python-modules/construct-classes/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

38 lines
858 B
Nix

{
lib,
buildPythonPackage,
construct,
fetchFromGitHub,
pytestCheckHook,
uv-build,
}:
buildPythonPackage rec {
pname = "construct-classes";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "matejcik";
repo = "construct-classes";
tag = "v${version}";
hash = "sha256-goOQMt/nVjWXYltpnKHtJaLOhR+gRTmtoUh7zVb7go4=";
};
build-system = [ uv-build ];
dependencies = [ construct ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "construct_classes" ];
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 ];
};
}