Something went wrong. Try again.
lol
Something went wrong. Try again.
858 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, flit-core, construct, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "construct-classes"; version = "0.2.3"; pyproject = true;
src = fetchFromGitHub { owner = "matejcik"; repo = "construct-classes"; tag = "v${version}"; hash = "sha256-xRYf6Tg4XyQN+g8uOaws46KKb0abD/M/5Q+SlnzEp/8="; };
build-system = [ flit-core ];
dependencies = [ construct ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "construct_classes" ];
meta = { 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 = lib.licenses.mit; maintainers = with lib.maintainers; [ prusnak ]; };}