tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.trafilatura: format with nixfmt
Fabian Affolter
2 years ago
60bc6308
a8e2c36b
+17
-22
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
trafilatura
default.nix
+17
-22
pkgs/development/python-modules/trafilatura/default.nix
reviewed
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, certifi
4
4
-
, charset-normalizer
5
5
-
, courlan
6
6
-
, fetchPypi
7
7
-
, htmldate
8
8
-
, justext
9
9
-
, lxml
10
10
-
, pytestCheckHook
11
11
-
, pythonOlder
12
12
-
, setuptools
13
13
-
, urllib3
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
certifi,
5
5
+
charset-normalizer,
6
6
+
courlan,
7
7
+
fetchPypi,
8
8
+
htmldate,
9
9
+
justext,
10
10
+
lxml,
11
11
+
pytestCheckHook,
12
12
+
pythonOlder,
13
13
+
setuptools,
14
14
+
urllib3,
14
15
}:
15
16
16
17
buildPythonPackage rec {
···
34
35
--replace-fail "trafilatura_bin = 'trafilatura'" "trafilatura_bin = '$out/bin/trafilatura'"
35
36
'';
36
37
37
37
-
build-system = [
38
38
-
setuptools
39
39
-
];
38
38
+
build-system = [ setuptools ];
40
39
41
40
dependencies = [
42
41
certifi
···
48
47
urllib3
49
48
];
50
49
51
51
-
nativeCheckInputs = [
52
52
-
pytestCheckHook
53
53
-
];
50
50
+
nativeCheckInputs = [ pytestCheckHook ];
54
51
55
52
disabledTests = [
56
53
# Disable tests that require an internet connection
···
65
62
"test_whole"
66
63
];
67
64
68
68
-
pythonImportsCheck = [
69
69
-
"trafilatura"
70
70
-
];
65
65
+
pythonImportsCheck = [ "trafilatura" ];
71
66
72
67
meta = with lib; {
73
68
description = "Python package and command-line tool designed to gather text on the Web";