libfmvoice: 0-unstable-2024-11-08 -> 0-unstable-2024-12-11 (#364919)
[NixPkgs.git] / pkgs / development / python-modules / pick / default.nix
blob5d26864fac7942acc8074e8092ad17cff6789e4b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pick";
12   version = "2.4.0";
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-SnH37n0MCjO60IU6kUPxJkIC5vBCVGZXBhFfwvRI/tQ=";
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   };