python312Packages.py-datastruct: init at 1.1.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user