From 112a1cffabce7afb9fed5da89a87a80f50854c24 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 16 Jan 2023 12:23:51 +0000 Subject: [PATCH 1/2] python310Packages.inquirer: 3.1.1 -> 3.1.2 --- pkgs/development/python-modules/inquirer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/inquirer/default.nix b/pkgs/development/python-modules/inquirer/default.nix index 8efdb1ab03b8..38c810ed477b 100644 --- a/pkgs/development/python-modules/inquirer/default.nix +++ b/pkgs/development/python-modules/inquirer/default.nix @@ -18,14 +18,14 @@ buildPythonPackage rec { pname = "inquirer"; - version = "3.1.1"; + version = "3.1.2"; format = "pyproject"; src = fetchFromGitHub rec { owner = "magmax"; repo = "python-inquirer"; rev = "refs/tags/v${version}"; - sha256 = "sha256-gDJqD0IHshyGw9MmMtYjkkpvYklRLgPd6EtLVqi2I/o="; + sha256 = "sha256-7kq0sZzPeCX7TA5Cl2rg6Uw+9jLz335a+tOrO0+Cyas="; }; nativeBuildInputs = [ From 187e43489b5f4cbe319305cae9ca1acda01216f1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 16 Jan 2023 14:21:27 +0100 Subject: [PATCH 2/2] python310Packages.inquirer: add changelog to meta - add pythonImportsCheck --- .../python-modules/inquirer/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/inquirer/default.nix b/pkgs/development/python-modules/inquirer/default.nix index 38c810ed477b..76078f7af51f 100644 --- a/pkgs/development/python-modules/inquirer/default.nix +++ b/pkgs/development/python-modules/inquirer/default.nix @@ -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 ]; }; }