python310Packages.inquirer: add changelog to meta
- add pythonImportsCheck
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# native
|
||||
, poetry-core
|
||||
@@ -21,11 +22,13 @@ buildPythonPackage rec {
|
||||
version = "3.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
owner = "magmax";
|
||||
repo = "python-inquirer";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-7kq0sZzPeCX7TA5Cl2rg6Uw+9jLz335a+tOrO0+Cyas=";
|
||||
hash = "sha256-7kq0sZzPeCX7TA5Cl2rg6Uw+9jLz335a+tOrO0+Cyas=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -44,10 +47,16 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
pythonImportsCheck = [
|
||||
"inquirer"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/magmax/python-inquirer";
|
||||
description = "A collection of common interactive command line user interfaces, based on Inquirer.js";
|
||||
homepage = "https://github.com/magmax/python-inquirer";
|
||||
changelog = "https://github.com/magmax/python-inquirer/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
maintainers = with maintainers; [ mmahut ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user