python310Packages.pick. init at 1.2.0

This commit is contained in:
Fabian Affolter 2022-06-13 18:14:41 +02:00
parent c01fa626c8
commit ee4b07bdd0
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pick";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "wong2";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9y9O6Iqo07Q+aPM6AvyvjAMQzZQOSpal92Qto8p8bzI=";
};
nativeBuildInputs = [
poetry-core
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pick"
];
meta = with lib; {
description = "Module to create curses-based interactive selection list in the terminal";
homepage = "https://github.com/wong2/pick";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6473,6 +6473,8 @@ in {
piccata = callPackage ../development/python-modules/piccata { };
pick = callPackage ../development/python-modules/pick { };
pickleshare = callPackage ../development/python-modules/pickleshare { };
picos = callPackage ../development/python-modules/picos { };