24fdeddc0a
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
37 lines
772 B
Nix
37 lines
772 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "survey";
|
|
version = "5.4.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-4vnjtSbw2y/o+fSWDl/CqTEZkl0jULGOLURdZ0BpKvY=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "survey" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple library for creating beautiful interactive prompts";
|
|
homepage = "https://github.com/Exahilosys/survey";
|
|
changelog = "https://github.com/Exahilosys/survey/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ sfrijters ];
|
|
};
|
|
}
|