Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pick / default.nix
blob171c639afefc08e99d55f885b254e89d5818b666
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pick";
12   version = "2.3.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "wong2";
19     repo = "pick";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-6bkV9XEum5kbANqv/Xth+taCUl4nmuWskucq4jmV+Lc=";
22   };
24   build-system = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "pick" ];
30   meta = with lib; {
31     description = "Module to create curses-based interactive selection list in the terminal";
32     homepage = "https://github.com/wong2/pick";
33     changelog = "https://github.com/wong2/pick/releases/tag/v${version}";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };