mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 22:14:42 +00:00
Merge pull request #231381 from mweinelt/inlinestyler-0.2.5
python310Packages.inlinestyler: init at 0.2.5
This commit is contained in:
commit
2ef25d3cff
49
pkgs/development/python-modules/inlinestyler/default.nix
Normal file
49
pkgs/development/python-modules/inlinestyler/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user