nixpkgs/pkgs/development/python-modules/survey/default.nix
2023-07-25 09:23:41 +02:00

35 lines
748 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "survey";
version = "4.5.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-wjpO1+9AXi75uPXOTE5/owEiZgtffkkMAaZ+gDO0t5I=";
};
nativeBuildInputs = [
setuptools-scm
];
doCheck = false;
pythonImportsCheck = [ "survey" ];
meta = with lib; {
description = "A 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 ];
};
}