snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / survey / default.nix
blob2e264d7756f098ae30942b09664519da91383d3c
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   setuptools-scm,
8 }:
10 buildPythonPackage rec {
11   pname = "survey";
12   version = "5.4.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-4vnjtSbw2y/o+fSWDl/CqTEZkl0jULGOLURdZ0BpKvY=";
20   };
22   build-system = [
23     setuptools
24     setuptools-scm
25   ];
27   doCheck = false;
28   pythonImportsCheck = [ "survey" ];
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   };