tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python310Packages.tinycss2: 1.1.0 -> 1.1.1
Jonas Heinrich
3 years ago
28fa56d1
2364de14
+13
-10
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
tinycss2
default.nix
+13
-10
pkgs/development/python-modules/tinycss2/default.nix
···
4
4
, fetchFromGitHub
5
5
, webencodings
6
6
, pytestCheckHook
7
7
+
, flit-core
7
8
}:
8
9
9
10
buildPythonPackage rec {
10
11
pname = "tinycss2";
11
11
-
version = "1.1.0";
12
12
-
disabled = pythonOlder "3.5";
12
12
+
version = "1.1.1";
13
13
format = "flit";
14
14
+
15
15
+
disabled = pythonOlder "3.6";
14
16
15
17
src = fetchFromGitHub {
16
18
owner = "kozea";
···
18
20
rev = "v${version}";
19
21
# for tests
20
22
fetchSubmodules = true;
21
21
-
sha256 = "sha256-WA88EYolL76WqeA1UKR3Sfw11j8NuOGOxPezujYizH8=";
23
23
+
sha256 = "sha256-RUF/3cjNgDFofoxl9iKY3u5ZAVVQmXu2Qbb5U4brdcQ=";
22
24
};
23
25
24
24
-
propagatedBuildInputs = [ webencodings ];
25
25
-
26
26
-
checkInputs = [
27
27
-
pytestCheckHook
28
28
-
];
29
29
-
30
26
postPatch = ''
31
27
substituteInPlace pyproject.toml \
32
28
--replace "'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'" "" \
33
33
-
--replace "--isort --flake8 --cov" ""
29
29
+
--replace "--isort --flake8 --cov --no-cov-on-fail" ""
34
30
'';
35
31
32
32
+
nativeBuildInputs = [ flit-core ];
33
33
+
34
34
+
propagatedBuildInputs = [ webencodings ];
35
35
+
36
36
+
checkInputs = [ pytestCheckHook ];
37
37
+
36
38
meta = with lib; {
37
39
description = "Low-level CSS parser for Python";
38
40
homepage = "https://github.com/Kozea/tinycss2";
39
41
license = licenses.bsd3;
42
42
+
maintainers = with maintainers; [ onny ];
40
43
};
41
44
}