python311Packages.kitchen: update meta

- add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2023-01-21 16:41:01 +01:00
parent 61ddf369ed
commit b6b24d2787

View file

@ -1,16 +1,33 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "kitchen";
version = "1.2.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0g5hq2icnng9vy4www5hnr3r5srisfwp0wxw1sv5c5dxy61gak5q";
hash = "sha256-uEz1gvG9FVa2DrxzcLnTMeuSR7awcM6J3+lZy6LAsDw=";
};
# Waiting for upstream's clean-up
doCheck = false;
pythonImportsCheck = [
"kitchen"
];
meta = with lib; {
description = "Kitchen contains a cornucopia of useful code";
license = licenses.lgpl2;
homepage = "https://github.com/fedora-infra/kitchen";
changelog = "https://github.com/fedora-infra/kitchen/blob/${version}/NEWS.rst";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ ];
};
}