tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.inlinestyler: init at 0.2.5
Martin Weinelt
2 years ago
57cbbf5e
53875c54
+51
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
inlinestyler
default.nix
top-level
python-packages.nix
+49
pkgs/development/python-modules/inlinestyler/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
5
5
+
# dependencies
6
6
+
, cssutils
7
7
+
, lxml
8
8
+
, requests
9
9
+
10
10
+
# tests
11
11
+
, ipdb
12
12
+
, pytestCheckHook
13
13
+
}:
14
14
+
15
15
+
buildPythonPackage rec {
16
16
+
pname = "inlinestyler";
17
17
+
version = "0.2.5";
18
18
+
format = "setuptools";
19
19
+
20
20
+
src = fetchFromGitHub {
21
21
+
owner = "dlanger";
22
22
+
repo = "inlinestyler";
23
23
+
rev = version;
24
24
+
hash = "sha256-9TKXqW+5SiiNXnHW2lOVh3zhFhodM7a1UB2yXsEuX3I=";
25
25
+
};
26
26
+
27
27
+
propagatedBuildInputs = [
28
28
+
cssutils
29
29
+
lxml
30
30
+
requests
31
31
+
];
32
32
+
33
33
+
pythonImportsCheck = [
34
34
+
"inlinestyler"
35
35
+
];
36
36
+
37
37
+
nativeCheckInputs = [
38
38
+
ipdb
39
39
+
pytestCheckHook
40
40
+
];
41
41
+
42
42
+
meta = with lib; {
43
43
+
description = "A simple CSS inliner for generating HTML email messages";
44
44
+
homepage = "https://github.com/dlanger/inlinestyler";
45
45
+
changelog = "https://github.com/dlanger/inlinestyler/blob/${src.rev}/CHANGELOG";
46
46
+
license = licenses.bsd3;
47
47
+
maintainers = with maintainers; [ hexa ];
48
48
+
};
49
49
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
4859
4859
4860
4860
inkex = callPackage ../development/python-modules/inkex { };
4861
4861
4862
4862
+
inlinestyler = callPackage ../development/python-modules/inlinestyler { };
4863
4863
+
4862
4864
inotify = callPackage ../development/python-modules/inotify { };
4863
4865
4864
4866
inotify-simple = callPackage ../development/python-modules/inotify-simple { };