depot/third_party/nixpkgs/pkgs/development/python-modules/bitstruct/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

29 lines
569 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "bitstruct";
version = "8.19.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-11up3e2FwX6IWiCaAOuOJI7kB2IUny8qeTYMqFdGfaw=";
};
pythonImportsCheck = [
"bitstruct"
];
meta = with lib; {
description = "Python bit pack/unpack package";
homepage = "https://github.com/eerimoq/bitstruct";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}