python3Packages.bitstruct: add pythonImportsCheck

This commit is contained in:
Fabian Affolter 2022-04-19 08:21:36 +02:00 committed by GitHub
parent 0b3247ed06
commit 7c5e8f44a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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