depot/third_party/nixpkgs/pkgs/development/python-modules/survey/default.nix

30 lines
595 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, wrapio
}:
buildPythonPackage rec {
pname = "survey";
version = "3.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-R/PfXW/CnqYiOWbCxPAYwneg6j6CLvdIpITZ2eIXn+M=";
};
propagatedBuildInputs = [
wrapio
];
doCheck = false;
pythonImportsCheck = [ "survey" ];
meta = with stdenv.lib; {
homepage = "https://github.com/Exahilosys/survey";
description = "A simple library for creating beautiful interactive prompts";
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}