mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
pythonPackages.python-zbar: fix build failure
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-zbar";
|
||||
pname = "zbar";
|
||||
version = "0.23.93";
|
||||
pyproject = true;
|
||||
|
||||
@@ -22,6 +22,8 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
cd python
|
||||
substituteInPlace ./setup.py \
|
||||
--replace-fail "version = '0.22.2'" "version = '0.23.93'"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
Reference in New Issue
Block a user