nixpkgs/pkgs/development/python-modules/bitstruct/default.nix
2026-02-20 01:12:14 +00:00

37 lines
688 B
Nix

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