1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7 parts, 8 pytestCheckHook, 9 pytest-cov-stub, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "bitlist"; 15 version = "1.2.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-+/rBno+OH7yEiN4K9VC6BCEPuOv8nNp0hU+fWegjqPw="; 23 }; 24 25 build-system = [ 26 setuptools 27 wheel 28 ]; 29 30 pythonRelaxDeps = [ "parts" ]; 31 32 dependencies = [ parts ]; 33 34 nativeCheckInputs = [ 35 pytestCheckHook 36 pytest-cov-stub 37 ]; 38 39 pythonImportsCheck = [ "bitlist" ]; 40 41 meta = with lib; { 42 description = "Python library for working with little-endian list representation of bit strings"; 43 homepage = "https://github.com/lapets/bitlist"; 44 license = with licenses; [ mit ]; 45 maintainers = with maintainers; [ fab ]; 46 }; 47}