Skip to content

Commit 51b2808

Browse files
authored
python3Packages.qrcode: 8.0 -> 8.2 (#403126)
2 parents 754635e + a8206f3 commit 51b2808

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pkgs/development/python-modules/qrcode/default.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
lib,
33
buildPythonPackage,
4-
fetchPypi,
4+
fetchFromGitHub,
55
pythonAtLeast,
66

77
# build-system
@@ -20,12 +20,14 @@
2020

2121
buildPythonPackage rec {
2222
pname = "qrcode";
23-
version = "8.0";
23+
version = "8.2";
2424
pyproject = true;
2525

26-
src = fetchPypi {
27-
inherit pname version;
28-
hash = "sha256-AlzisVD3/kKW0Rbum61FWmZDq09ufc5UFhOkdYy840c=";
26+
src = fetchFromGitHub {
27+
owner = "lincolnloop";
28+
repo = "python-qrcode";
29+
tag = "v${version}";
30+
hash = "sha256-qLIYUFnBJQGidnfC0bQAkO/aUmT94uXFMeMhnUgUnfQ=";
2931
};
3032

3133
build-system = [ poetry-core ];
@@ -56,12 +58,12 @@ buildPythonPackage rec {
5658
"test_piped"
5759
];
5860

59-
meta = with lib; {
61+
meta = {
6062
description = "Python QR Code image generator";
6163
mainProgram = "qr";
6264
homepage = "https://github.com/lincolnloop/python-qrcode";
6365
changelog = "https://github.com/lincolnloop/python-qrcode/blob/v${version}/CHANGES.rst";
64-
license = licenses.bsd3;
65-
maintainers = [ ];
66+
license = lib.licenses.bsd3;
67+
maintainers = with lib.maintainers; [ attila ];
6668
};
6769
}

0 commit comments

Comments
 (0)