1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, setuptools-scm 6}: 7 8buildPythonPackage rec { 9 pname = "survey"; 10 version = "4.5.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-wjpO1+9AXi75uPXOTE5/owEiZgtffkkMAaZ+gDO0t5I="; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools-scm 22 ]; 23 24 doCheck = false; 25 pythonImportsCheck = [ "survey" ]; 26 27 meta = with lib; { 28 description = "A simple library for creating beautiful interactive prompts"; 29 homepage = "https://github.com/Exahilosys/survey"; 30 changelog = "https://github.com/Exahilosys/survey/releases/tag/v${version}"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ sfrijters ]; 33 }; 34}