Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 1.1 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5 6# native 7, poetry-core 8 9# propagated 10, blessed 11, python-editor 12, readchar 13 14# tests 15, pytest-mock 16, pytestCheckHook 17, pexpect 18}: 19 20buildPythonPackage rec { 21 pname = "inquirer"; 22 version = "3.1.3"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.7"; 26 27 src = fetchFromGitHub rec { 28 owner = "magmax"; 29 repo = "python-inquirer"; 30 rev = "refs/tags/v${version}"; 31 hash = "sha256-7GfHsCQgnDUdiM1z9YNdDuwMNy6rLjR1UTnZMgpQ5k4="; 32 }; 33 34 nativeBuildInputs = [ 35 poetry-core 36 ]; 37 38 propagatedBuildInputs = [ 39 blessed 40 python-editor 41 readchar 42 ]; 43 44 nativeCheckInputs = [ 45 pexpect 46 pytest-mock 47 pytestCheckHook 48 ]; 49 50 51 pythonImportsCheck = [ 52 "inquirer" 53 ]; 54 55 meta = with lib; { 56 description = "A collection of common interactive command line user interfaces, based on Inquirer.js"; 57 homepage = "https://github.com/magmax/python-inquirer"; 58 changelog = "https://github.com/magmax/python-inquirer/releases/tag/v${version}"; 59 license = licenses.mit; 60 maintainers = with maintainers; [ mmahut ]; 61 }; 62}