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.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";
···
20
18
rev = "v${version}";
21
19
# for tests
22
20
fetchSubmodules = true;
23
23
-
sha256 = "sha256-WA88EYolL76WqeA1UKR3Sfw11j8NuOGOxPezujYizH8=";
21
21
+
sha256 = "sha256-RUF/3cjNgDFofoxl9iKY3u5ZAVVQmXu2Qbb5U4brdcQ=";
24
22
};
25
25
-
26
26
-
propagatedBuildInputs = [ webencodings ];
27
27
-
28
28
-
checkInputs = [
29
29
-
pytestCheckHook
30
30
-
];
31
23
32
24
postPatch = ''
33
25
substituteInPlace pyproject.toml \
34
26
--replace "'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'" "" \
35
35
-
--replace "--isort --flake8 --cov" ""
27
27
+
--replace "--isort --flake8 --cov --no-cov-on-fail" ""
36
28
'';
29
29
+
30
30
+
nativeBuildInputs = [ flit-core ];
31
31
+
32
32
+
propagatedBuildInputs = [ webencodings ];
33
33
+
34
34
+
checkInputs = [ pytestCheckHook ];
37
35
38
36
meta = with lib; {
39
37
description = "Low-level CSS parser for Python";
40
38
homepage = "https://github.com/Kozea/tinycss2";
41
39
license = licenses.bsd3;
40
40
+
maintainers = with maintainers; [ onny ];
42
41
};
43
42
}