Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "survey"; 12 version = "5.4.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-JT0tcNBReNdfbZrwSgv0OFcBz9Hp1N5JF4nP9oXfTJs="; 20 }; 21 22 build-system = [ 23 setuptools 24 setuptools-scm 25 ]; 26 27 doCheck = false; 28 pythonImportsCheck = [ "survey" ]; 29 30 meta = with lib; { 31 description = "Simple library for creating beautiful interactive prompts"; 32 homepage = "https://github.com/Exahilosys/survey"; 33 changelog = "https://github.com/Exahilosys/survey/releases/tag/v${version}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ sfrijters ]; 36 }; 37}