lbdb: rename finger_bsd to bsd-finger

+34 -23
+33 -22
pkgs/tools/misc/lbdb/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, perl, finger_bsd 2 - , abook ? null 3 - , gnupg ? null 4 - , goobook ? null 5 - , khard ? null 6 - , mu ? null 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchpatch 5 + , perl 6 + , bsd-finger 7 + , withAbook ? true, abook 8 + , withGnupg ? true, gnupg 9 + , withGoobook ? true, goobook 10 + , withKhard ? true, khard 11 + , withMu ? true, mu 7 12 }: 8 13 9 14 let 10 - perl' = perl.withPackages (p: with p; [ ConvertASN1 perlldap AuthenSASL ]); 15 + perl' = perl.withPackages (p: with p; [ 16 + AuthenSASL 17 + ConvertASN1 18 + perlldap 19 + ]); 11 20 in 12 21 stdenv.mkDerivation rec { 13 22 pname = "lbdb"; 14 23 version = "0.48.1"; 24 + 15 25 src = fetchurl { 16 26 url = "https://www.spinnaker.de/lbdb/download/lbdb_${version}.tar.gz"; 17 27 sha256 = "1gr5l2fr9qbdccga8bhsrpvz6jxigvfkdxrln9wyf2xpps5cdjxh"; 18 28 }; 19 29 20 - buildInputs = [ goobook perl' ] 21 - ++ lib.optional (!stdenv.isDarwin) finger_bsd 22 - ++ lib.optional (abook != null) abook 23 - ++ lib.optional (gnupg != null) gnupg 24 - ++ lib.optional (goobook != null) goobook 25 - ++ lib.optional (khard != null) khard 26 - ++ lib.optional (mu != null) mu; 30 + buildInputs = [ perl' ] 31 + ++ lib.optional (!stdenv.isDarwin) bsd-finger 32 + ++ lib.optional withAbook abook 33 + ++ lib.optional withGnupg gnupg 34 + ++ lib.optional withGoobook goobook 35 + ++ lib.optional withKhard khard 36 + ++ lib.optional withMu mu; 27 37 28 38 configureFlags = [ ] 29 - ++ lib.optional (abook != null) "--with-abook" 30 - ++ lib.optional (gnupg != null) "--with-gpg" 31 - ++ lib.optional (goobook != null) "--with-goobook" 32 - ++ lib.optional (khard != null) "--with-khard" 33 - ++ lib.optional (mu != null) "--with-mu"; 39 + ++ lib.optional withAbook "--with-abook" 40 + ++ lib.optional withGnupg "--with-gpg" 41 + ++ lib.optional withGoobook "--with-goobook" 42 + ++ lib.optional withKhard "--with-khard" 43 + ++ lib.optional withMu "--with-mu"; 34 44 35 - patches = [ ./add-methods-to-rc.patch 45 + patches = [ 46 + ./add-methods-to-rc.patch 36 47 # fix undefined exec_prefix. Remove with the next release 37 48 (fetchpatch { 38 49 url = "https://github.com/RolandRosenfeld/lbdb/commit/60b7bae255011f59212d96adfbded459d6a27129.patch"; ··· 43 54 44 55 meta = with lib; { 45 56 homepage = "https://www.spinnaker.de/lbdb/"; 57 + description = "The Little Brother's Database"; 46 58 license = licenses.gpl2; 59 + maintainers = with maintainers; [ kaiha bfortz ]; 47 60 platforms = platforms.all; 48 - description = "The Little Brother's Database"; 49 - maintainers = [ maintainers.kaiha maintainers.bfortz ]; 50 61 }; 51 62 }
+1 -1
pkgs/top-level/all-packages.nix
··· 27120 27120 27121 27121 caps = callPackage ../applications/audio/caps { }; 27122 27122 27123 - lbdb = callPackage ../tools/misc/lbdb { abook = null; gnupg = null; goobook = null; khard = null; mu = null; }; 27123 + lbdb = callPackage ../tools/misc/lbdb { }; 27124 27124 27125 27125 lbry = callPackage ../applications/video/lbry { }; 27126 27126