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.2";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-4vnjtSbw2y/o+fSWDl/CqTEZkl0jULGOLURdZ0BpKvY=";
20 };
21
22 build-system = [
23 setuptools
24 setuptools-scm
25 ];
26
27 pythonImportsCheck = [ "survey" ];
28
29 meta = {
30 description = "Simple library for creating beautiful interactive prompts";
31 homepage = "https://github.com/Exahilosys/survey";
32 changelog = "https://github.com/Exahilosys/survey/releases/tag/v${version}";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ sfrijters ];
35 };
36}