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