From 1bc097e7d7d75919893663e8201a5b718a0009ff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 20 Dec 2021 08:28:13 +0100 Subject: [PATCH] python3Packages.cement: clean-up --- .../python-modules/cement/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cement/default.nix b/pkgs/development/python-modules/cement/default.nix index 8269da5ec94e..a6b436a92f4a 100644 --- a/pkgs/development/python-modules/cement/default.nix +++ b/pkgs/development/python-modules/cement/default.nix @@ -1,8 +1,15 @@ -{ lib, buildPythonPackage, fetchPypi, isPy3k }: +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +}: buildPythonPackage rec { pname = "cement"; version = "3.0.6"; + format = "setuptools"; + + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; @@ -13,12 +20,14 @@ buildPythonPackage rec { # 127.0.0.1:11211. doCheck = false; - disabled = !isPy3k; + pythonImportsCheck = [ + "cement" + ]; meta = with lib; { + description = "CLI Application Framework for Python"; homepage = "https://builtoncement.com/"; - description = "A CLI Application Framework for Python."; - maintainers = with maintainers; [ eqyiel ]; license = licenses.bsd3; + maintainers = with maintainers; [ eqyiel ]; }; }