diff --git a/pkgs/linguistics/stardict-tools/default.nix b/pkgs/linguistics/stardict-tools/default.nix
index 6948140c9a864ec18c99b027125d9723003fce57..cb2535abeee9b8c3838431ab188a93efb07d9984 100644
--- a/pkgs/linguistics/stardict-tools/default.nix
+++ b/pkgs/linguistics/stardict-tools/default.nix
@@ -1,11 +1,12 @@
{ lib
, stdenv
-, fetchFromGitHub
+, fetchurl
, autoconf
, automake
, libtool
+, p7zip
, pkg-config
-, gtk3
+, gtk2
, libmysqlclient
, libxml2
, pcre
@@ -13,23 +14,23 @@ }:
stdenv.mkDerivation (finalAttrs: {
pname = "stardict-tools";
};
nativeBuildInputs = [
autoconf
automake
libtool
pkg-config
];
buildInputs = [
libmysqlclient
libxml2
pcre
@@ -38,14 +39,14 @@
hardeningDisable = [ "format" ];
postPatch = ''
--replace "MYSQL_PORT" "0"
substituteInPlace tools/src/Makefile.am \
--replace "noinst_PROGRAMS =" "bin_PROGRAMS ="
'';
preConfigure = "./autogen.sh";
configureFlags = [ "--disable-dict" ];
postInstall = ''
find $out/bin/ -not -name 'stardict-*' -type f | \
@@ -57,7 +58,7 @@ enableParallelBuilding = true;
meta = with lib; {
description = "Stardict tools";
license = licenses.gpl3Plus;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
application/octet-stream
This content has been proxied by September (3851b).