2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-12-08 15:42:07 +00:00
|
|
|
, buildPythonPackage
|
2021-04-24 08:55:46 +01:00
|
|
|
, pythonOlder
|
2020-12-08 15:42:07 +00:00
|
|
|
, fetchPypi
|
|
|
|
, wrapio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "survey";
|
2021-04-24 08:55:46 +01:00
|
|
|
version = "3.4.3";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
2020-12-08 15:42:07 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-24 08:55:46 +01:00
|
|
|
sha256 = "sha256-TK89quY3bpNIEz1n3Ecew4FnTH6QgeSLdDNV86gq7+I=";
|
2020-12-08 15:42:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
wrapio
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "survey" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-12-08 15:42:07 +00:00
|
|
|
homepage = "https://github.com/Exahilosys/survey";
|
|
|
|
description = "A simple library for creating beautiful interactive prompts";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
|
|
};
|
|
|
|
}
|