at master 770 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 unittestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pyexpect"; 11 version = "1.0.22"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "dwt"; 16 repo = "pyexpect"; 17 tag = version; 18 hash = "sha256-2c+lIpw1q5vF/+7oaVpu743n+xxzf23wXce8oFA7jKw="; 19 }; 20 21 build-system = [ 22 setuptools 23 ]; 24 25 nativeCheckInputs = [ 26 unittestCheckHook 27 ]; 28 29 pythonImportsCheck = [ "pyexpect" ]; 30 31 meta = { 32 changelog = "https://dwt/pyexpect/releases/tag/${version}"; 33 description = "Minimal but very flexible implementation of the expect pattern"; 34 homepage = "https://github.com/dwt/pyexpect"; 35 license = lib.licenses.isc; 36 maintainers = with lib.maintainers; [ lzcunt ]; 37 }; 38}