lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 37 lines 957 B view raw
1{ lib, stdenv, fetchurl, which, bison, flex, libmaa, zlib, libtool }: 2 3stdenv.mkDerivation rec { 4 pname = "dictd"; 5 version = "1.13.1"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/dict/dictd-${version}.tar.gz"; 9 sha256 = "sha256-5PGmfRaJTYSUVp19yUQsFcw4wBHyuWMcfxzGInZlKhs="; 10 }; 11 12 buildInputs = [ libmaa zlib ]; 13 14 nativeBuildInputs = [ bison flex libtool which ]; 15 16 # In earlier versions, parallel building was not supported but it's OK with 1.13 17 enableParallelBuilding = true; 18 19 patchPhase = "patch -p0 < ${./buildfix.diff}"; 20 21 configureFlags = [ 22 "--datadir=/run/current-system/sw/share/dictd" 23 "--sysconfdir=/etc" 24 ]; 25 26 postInstall = '' 27 install -Dm444 -t $out/share/doc/${pname} NEWS README 28 ''; 29 30 meta = with lib; { 31 description = "Dict protocol server and client"; 32 homepage = "http://www.dict.org"; 33 license = licenses.gpl2; 34 maintainers = with maintainers; [ ]; 35 platforms = platforms.linux; 36 }; 37}