1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 anytree,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pickpack";
12 version = "2.0.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "anafvana";
17 repo = "pickpack";
18 rev = "v${version}";
19 hash = "sha256-IUIs+Cgl2fvjSougyVSzhmY2SeEYL2T2ODrBWBg3zZM=";
20 };
21
22 build-system = [
23 poetry-core
24 ];
25
26 dependencies = [
27 anytree
28 ];
29
30 pythonImportsCheck = [
31 "pickpack"
32 ];
33
34 nativeCheckInputs = [
35 pytestCheckHook
36 ];
37
38 meta = {
39 description = "Curses-based (and pick-based) interactive picker for the terminal. Now covering trees also";
40 homepage = "https://github.com/anafvana/pickpack";
41 license = lib.licenses.mit;
42 maintainers = with lib.maintainers; [ doronbehar ];
43 };
44}