python310Packages.pywbem: add changelog to meta

- add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2023-01-25 21:41:23 +01:00
parent 04a0a284db
commit 8f95b6f17d

View file

@ -1,26 +1,25 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, decorator
, fetchPypi , fetchPypi
, libxml2 , FormEncode
, m2crypto
, ply
, pyyaml
, six
, pbr
, pythonOlder
, nocasedict
, nocaselist
, yamlloader
, requests-mock
, httpretty , httpretty
, libxml2
, lxml , lxml
, mock , mock
, nocasedict
, nocaselist
, pbr
, ply
, pytest , pytest
, requests , pythonOlder
, decorator
, FormEncode
, testfixtures
, pytz , pytz
, pyyaml
, requests
, requests-mock
, six
, testfixtures
, yamlloader
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -28,9 +27,11 @@ buildPythonPackage rec {
version = "1.6.0"; version = "1.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-4mqwMkR17lMp10lx+UK0sxW2rA7a8njnDha1YDJ475g="; hash = "sha256-4mqwMkR17lMp10lx+UK0sxW2rA7a8njnDha1YDJ475g=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -42,7 +43,7 @@ buildPythonPackage rec {
pyyaml pyyaml
six six
yamlloader yamlloader
] ++ lib.optionals (pythonOlder "3.0") [ m2crypto ]; ];
nativeCheckInputs = [ nativeCheckInputs = [
decorator decorator
@ -57,9 +58,14 @@ buildPythonPackage rec {
testfixtures testfixtures
]; ];
pythonImportsCheck = [
"pywbem"
];
meta = with lib; { meta = with lib; {
description = "Support for the WBEM standard for systems management"; description = "Support for the WBEM standard for systems management";
homepage = "https://pywbem.github.io"; homepage = "https://pywbem.github.io";
changelog = "https://github.com/pywbem/pywbem/blob/${version}/docs/changes.rst";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
}; };