python312Packages.py-datastruct: init at 1.1.0

This commit is contained in:
Will Lucas
2025-01-30 20:33:43 -06:00
parent 73b9f2d20b
commit b24892b5b2
2 changed files with 35 additions and 0 deletions
@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "py-datastruct";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kuba2k2";
repo = "datastruct";
tag = "v${version}";
hash = "sha256-KEIvibGnQnIDMpmodWN2Az/ypc37ZyGvgVPC7voFmlA=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "datastruct" ];
# Add nativeCheckInputs = [ pytestCheckHook ]; once we update to v2.0.0 tag and remove below line
doCheck = false;
meta = {
description = "Combination of struct and dataclasses for easy parsing of binary formats";
homepage = "https://github.com/kuba2k2/datastruct";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mevatron ];
};
}
+2
View File
@@ -9380,6 +9380,8 @@ self: super: with self; {
py-ccm15 = callPackage ../development/python-modules/py-ccm15 { };
py-datastruct = callPackage ../development/python-modules/py-datastruct { };
py-deprecate = callPackage ../development/python-modules/py-deprecate { };
py-ecc = callPackage ../development/python-modules/py-ecc { };