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.qstylizer: 0.2.1 -> 0.2.2
Fabian Affolter
3 years ago
e6fa5b83
ad8c5054
+14
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
qstylizer
default.nix
+14
-9
pkgs/development/python-modules/qstylizer/default.nix
reviewed
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
-
, pythonOlder
4
3
, fetchFromGitHub
5
4
, inflection
6
5
, pbr
7
7
-
, tinycss2
8
8
-
, pytestCheckHook
9
6
, pytest-mock
7
7
+
, pytestCheckHook
8
8
+
, pythonOlder
9
9
+
, tinycss2
10
10
}:
11
11
12
12
buildPythonPackage rec {
13
13
pname = "qstylizer";
14
14
-
version = "0.2.1";
14
14
+
version = "0.2.2";
15
15
+
format = "setuptools";
16
16
+
17
17
+
disabled = pythonOlder "3.7";
15
18
16
19
src = fetchFromGitHub {
17
20
owner = "blambright";
18
21
repo = pname;
19
22
rev = version;
20
20
-
sha256 = "sha256-iEMxBpS9gOPubd9O8zpVmR5B7+UZJFkPuOtikO1a9v0=";
23
23
+
hash = "sha256-QJ4xhaAoVO4/VncXKzI8Q5f/rPfctJ8CvfedkQVgZgQ=";
21
24
};
25
25
+
26
26
+
PBR_VERSION = version;
22
27
23
28
nativeBuildInputs = [
24
29
pbr
···
39
34
pytest-mock
40
35
];
41
36
42
42
-
preBuild = ''
43
43
-
export PBR_VERSION=${version}
44
44
-
'';
37
37
+
pythonImportsCheck = [
38
38
+
"qstylizer"
39
39
+
];
45
40
46
41
meta = with lib; {
47
47
-
description = "Qt stylesheet generation utility for PyQt/PySide ";
42
42
+
description = "Qt stylesheet generation utility for PyQt/PySide";
48
43
homepage = "https://github.com/blambright/qstylizer";
49
44
license = licenses.mit;
50
45
maintainers = with maintainers; [ drewrisinger ];