depot/third_party/nixpkgs/pkgs/development/python-modules/bitstruct/default.nix

30 lines
569 B
Nix
Raw Normal View History

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