29 lines
569 B
Nix
29 lines
569 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "bitstruct";
|
|
version = "8.17.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-65S0DkIYojqo+QQGuDap5u2D5IuNESzj+WQIRjvRuHQ=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"bitstruct"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python bit pack/unpack package";
|
|
homepage = "https://github.com/eerimoq/bitstruct";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
};
|
|
}
|