Skip to content

Commit a8206f3

Browse files
committed
python312Packages.qrcode: fetch from GitHub
1 parent 2269798 commit a8206f3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 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
@@ -23,9 +23,11 @@ buildPythonPackage rec {
2323
version = "8.2";
2424
pyproject = true;
2525

26-
src = fetchPypi {
27-
inherit pname version;
28-
hash = "sha256-NcPypBcrMxNqufaz7xwAJg3S9m+FjyTYhBigFfRGUGw=";
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 ];

0 commit comments

Comments
 (0)