generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #389 from imincik/nixpkgs-pull-20231214
pkgs: nixpkgs weekly pull 20231214
- Loading branch information
Showing
5 changed files
with
43 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# FIX sip and pyqt5_sip compatibility. See: https://github.com/NixOS/nixpkgs/issues/273561 | ||
# Remove this fix in NixOS 24.05. | ||
|
||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pyqt5-sip"; | ||
version = "12.13.0"; | ||
|
||
src = fetchPypi { | ||
pname = "PyQt5_sip"; | ||
inherit version; | ||
hash = "sha256-fzIdr4S5ydvKYbgOHvN72v/A6TMS7a4s19oluVOXHZE="; | ||
}; | ||
|
||
# There is no test code and the check phase fails with: | ||
# > error: could not create 'PyQt5/sip.cpython-38-x86_64-linux-gnu.so': No such file or directory | ||
doCheck = false; | ||
pythonImportsCheck = ["PyQt5.sip"]; | ||
|
||
meta = with lib; { | ||
description = "Python bindings for Qt5"; | ||
homepage = "https://www.riverbankcomputing.com/software/sip/"; | ||
license = licenses.gpl3Only; | ||
platforms = platforms.mesaPlatforms; | ||
maintainers = with maintainers; [ sander ]; | ||
}; | ||
} |