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 {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "dupeguru";
|
pname = "dupeguru";
|
||||||
version = "4.0.4";
|
version = "4.1.1";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
|
@ -10,19 +10,10 @@ python3Packages.buildPythonApplication rec {
|
||||||
owner = "arsenetar";
|
owner = "arsenetar";
|
||||||
repo = "dupeguru";
|
repo = "dupeguru";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0ma4f1c6vmpz8gi4sdy43x1ik7wh42wayvk1iq520d3i714kfcpy";
|
sha256 = "sha256-0lJocrNQHTrpslbPE6xjZDWhzza8cAt2js35LvicZKg=";
|
||||||
fetchSubmodules = true;
|
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 = [
|
nativeBuildInputs = [
|
||||||
gettext
|
gettext
|
||||||
python3Packages.pyqt5
|
python3Packages.pyqt5
|
||||||
|
@ -31,6 +22,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
pythonPath = with python3Packages; [
|
pythonPath = with python3Packages; [
|
||||||
pyqt5
|
pyqt5
|
||||||
|
pyqt5.pyqt5_sip
|
||||||
send2trash
|
send2trash
|
||||||
sphinx
|
sphinx
|
||||||
polib
|
polib
|
||||||
|
@ -42,9 +34,12 @@ python3Packages.buildPythonApplication rec {
|
||||||
"NO_VENV=1"
|
"NO_VENV=1"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: package pytest-monkeyplus for running tests
|
checkInputs = with python3Packages; [
|
||||||
# https://github.com/NixOS/nixpkgs/pull/75054/files#r357690123
|
pytestCheckHook
|
||||||
doCheck = false;
|
];
|
||||||
|
preCheck = ''
|
||||||
|
export HOME="$(mktemp -d)"
|
||||||
|
'';
|
||||||
|
|
||||||
# Avoid double wrapping Python programs.
|
# Avoid double wrapping Python programs.
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
|
|
|
@ -88,7 +88,7 @@ in buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
inherit sip;
|
inherit sip pyqt5_sip;
|
||||||
multimediaEnabled = withMultimedia;
|
multimediaEnabled = withMultimedia;
|
||||||
webKitEnabled = withWebKit;
|
webKitEnabled = withWebKit;
|
||||||
WebSocketsEnabled = withWebSockets;
|
WebSocketsEnabled = withWebSockets;
|
||||||
|
|
Loading…
Reference in a new issue