nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 1f9f902d8ee1af6c1a95c59ab2754fbd53052455
parent 69a1a2b83083d8baf93187d948639b319131bae2
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun,  8 Oct 2023 21:17:49 +0400

redict: drop

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/linguistics/redict/default.nix | 59-----------------------------------------------------------
2 files changed, 0 insertions(+), 60 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -307,7 +307,6 @@ lib.makeScope newScope ( mikatools = callPackage ./linguistics/mikatools { }; odict = callPackage ./linguistics/odict { }; pytorchtext = callPackage ./linguistics/pytorchtext { }; - redict = libsForQt5.callPackage ./linguistics/redict { }; revtok = callPackage ./linguistics/revtok { }; stardict-tools = callPackage ./linguistics/stardict-tools { }; tatoebatools = callPackage ./linguistics/tatoebatools { }; diff --git a/pkgs/linguistics/redict/default.nix b/pkgs/linguistics/redict/default.nix @@ -1,59 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, wrapQtAppsHook -, pkg-config -, qmake -, qtbase -, qtmultimedia -, qtsvg -, qttools -, qtx11extras -, libX11 -, libXext -, libXtst -, withI18n ? true -}: - -stdenv.mkDerivation rec { - pname = "redict"; - version = "2019-06-21"; - - src = fetchFromGitHub { - owner = "rekols"; - repo = "redict"; - rev = "525aac01ed5fc0f74f8393dc5b5b3bb57c9b0c5f"; - hash = "sha256-VGYhcQqnK50NqF6MFcKDyaPECDnAjVRzhMR7Wldoiv4="; - }; - - nativeBuildInputs = [ qmake pkg-config wrapQtAppsHook ] - ++ lib.optional withI18n qttools; - buildInputs = [ qtmultimedia qtsvg ] - ++ lib.optionals stdenv.isLinux [ qtx11extras libX11 libXext libXtst ]; - - postPatch = '' - substituteInPlace redict.pro \ - --replace "unix " "unix:!mac " - sed -i '1i#include <QPainterPath>' src/widgets/spinner.cpp - ''; - - preConfigure = lib.optionalString withI18n '' - lupdate redict.pro - lrelease redict.pro - ''; - - qmakeFlags = [ - "PREFIX=${placeholder "out"}" - "BINDIR=${placeholder "out"}/bin" - "APPDIR=${placeholder "out"}/share/applications" - ]; - - meta = with lib; { - description = "A dictionary for Linux, based on C++/Qt development"; - inherit (src.meta) homepage; - license = licenses.gpl3; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - broken = stdenv.isDarwin; - }; -}