dupeguru: 4.0.4 -> 4.1.1
Fix pyqt5_sip issue, and enable tests.
This commit is contained in:
parent
3a641defd1
commit
4c1298943b
2 changed files with 11 additions and 16 deletions
|
@ -1,8 +1,8 @@
|
|||
{lib, python3Packages, fetchpatch, gettext, qt5, fetchFromGitHub}:
|
||||
{lib, python3Packages, gettext, qt5, fetchFromGitHub}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "dupeguru";
|
||||
version = "4.0.4";
|
||||
version = "4.1.1";
|
||||
|
||||
format = "other";
|
||||
|
||||
|
@ -10,19 +10,10 @@ python3Packages.buildPythonApplication rec {
|
|||
owner = "arsenetar";
|
||||
repo = "dupeguru";
|
||||
rev = version;
|
||||
sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy";
|
||||
sha256 = "sha256-0lJocrNQHTrpslbPE6xjZDWhzza8cAt2js35LvicZKg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# already merged to master, remove next version bump
|
||||
(fetchpatch {
|
||||
name = "remove-m-from-so-var.patch";
|
||||
url = "https://github.com/arsenetar/dupeguru/commit/bd0f53bcbe463c48fe141b73af13542da36d82ba.patch";
|
||||
sha256 = "07iisz8kcr7v8lb21inzj1avlpfhh9k8wcivbd33w49cr3mmnr26";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
python3Packages.pyqt5
|
||||
|
@ -31,6 +22,7 @@ python3Packages.buildPythonApplication rec {
|
|||
|
||||
pythonPath = with python3Packages; [
|
||||
pyqt5
|
||||
pyqt5.pyqt5_sip
|
||||
send2trash
|
||||
sphinx
|
||||
polib
|
||||
|
@ -42,9 +34,12 @@ python3Packages.buildPythonApplication rec {
|
|||
"NO_VENV=1"
|
||||
];
|
||||
|
||||
# TODO: package pytest-monkeyplus for running tests
|
||||
# https://github.com/NixOS/nixpkgs/pull/75054/files#r357690123
|
||||
doCheck = false;
|
||||
checkInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
preCheck = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
'';
|
||||
|
||||
# Avoid double wrapping Python programs.
|
||||
dontWrapQtApps = true;
|
||||
|
|
|
@ -88,7 +88,7 @@ in buildPythonPackage rec {
|
|||
];
|
||||
|
||||
passthru = {
|
||||
inherit sip;
|
||||
inherit sip pyqt5_sip;
|
||||
multimediaEnabled = withMultimedia;
|
||||
webKitEnabled = withWebKit;
|
||||
WebSocketsEnabled = withWebSockets;
|
||||
|
|
Loading…
Reference in a new issue