Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ stdenv, lib, buildPythonPackage, fetchFromGitHub, poetry-core, prompt-toolkit, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "questionary"; version = "unstable-2022-07-27"; format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "tmbo"; repo = pname; rev = "848b040c5b7086ffe75bd92c656e15e94d905146"; hash = "sha256-W0d1Uoy5JdN3BFfeyk1GG0HBzmgKoBApaGad0UykZaY="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ prompt-toolkit ];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = lib.optionalString stdenv.isDarwin '' ulimit -n 1024 '';
disabledTests = [ # RuntimeError: no running event loop "test_blank_line_fix" ];
pythonImportsCheck = [ "questionary" ];
meta = with lib; { description = "Python library to build command line user prompts"; homepage = "https://github.com/tmbo/questionary"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}