python310Packages.inlinestyler: init at 0.2.5

This commit is contained in:
Martin Weinelt 2023-05-11 22:57:51 +02:00
parent 53875c54da
commit 57cbbf5e64
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# dependencies
, cssutils
, lxml
, requests
# tests
, ipdb
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "inlinestyler";
version = "0.2.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "dlanger";
repo = "inlinestyler";
rev = version;
hash = "sha256-9TKXqW+5SiiNXnHW2lOVh3zhFhodM7a1UB2yXsEuX3I=";
};
propagatedBuildInputs = [
cssutils
lxml
requests
];
pythonImportsCheck = [
"inlinestyler"
];
nativeCheckInputs = [
ipdb
pytestCheckHook
];
meta = with lib; {
description = "A simple CSS inliner for generating HTML email messages";
homepage = "https://github.com/dlanger/inlinestyler";
changelog = "https://github.com/dlanger/inlinestyler/blob/${src.rev}/CHANGELOG";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -4859,6 +4859,8 @@ self: super: with self; {
inkex = callPackage ../development/python-modules/inkex { };
inlinestyler = callPackage ../development/python-modules/inlinestyler { };
inotify = callPackage ../development/python-modules/inotify { };
inotify-simple = callPackage ../development/python-modules/inotify-simple { };