2025-05-15 19:51:27 -07:00

38 lines
690 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "bitstruct";
version = "8.21.0";
pyproject = true;
src = fetchFromGitHub {
owner = "eerimoq";
repo = "bitstruct";
tag = version;
hash = "sha256-r2FPfSoW1Za7kglwpPXnWvWwzhAB8fQXiLPmbsi/8Ps=";
};
build-system = [
setuptools
];
pythonImportsCheck = [ "bitstruct" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Python bit pack/unpack package";
homepage = "https://github.com/eerimoq/bitstruct";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}