1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, gettext, readline }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-EyvljVXhOsdxIYOGTzD+T16nvW7/RNx3DuQ2OdhjXJ4=";
14 hardeningDisable = [ "format" ];
15 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ glib gettext readline ];
22 env.NIX_CFLAGS_COMPILE = "-D__GNU_LIBRARY__";
25 homepage = "https://dushistov.github.io/sdcv/";
26 description = "Console version of StarDict";
27 maintainers = with maintainers; [ lovek323 ];
28 license = licenses.gpl2;
29 platforms = platforms.unix;