tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lbdb: rename finger_bsd to bsd-finger
AndersonTorres
3 years ago
a9b8e7d2
e0cce3d7
+34
-23
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
lbdb
default.nix
top-level
all-packages.nix
+33
-22
pkgs/tools/misc/lbdb/default.nix
···
1
1
-
{ lib, stdenv, fetchurl, fetchpatch, perl, finger_bsd
2
2
-
, abook ? null
3
3
-
, gnupg ? null
4
4
-
, goobook ? null
5
5
-
, khard ? null
6
6
-
, mu ? null
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchurl
4
4
+
, fetchpatch
5
5
+
, perl
6
6
+
, bsd-finger
7
7
+
, withAbook ? true, abook
8
8
+
, withGnupg ? true, gnupg
9
9
+
, withGoobook ? true, goobook
10
10
+
, withKhard ? true, khard
11
11
+
, withMu ? true, mu
7
12
}:
8
13
9
14
let
10
10
-
perl' = perl.withPackages (p: with p; [ ConvertASN1 perlldap AuthenSASL ]);
15
15
+
perl' = perl.withPackages (p: with p; [
16
16
+
AuthenSASL
17
17
+
ConvertASN1
18
18
+
perlldap
19
19
+
]);
11
20
in
12
21
stdenv.mkDerivation rec {
13
22
pname = "lbdb";
14
23
version = "0.48.1";
24
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
20
-
buildInputs = [ goobook perl' ]
21
21
-
++ lib.optional (!stdenv.isDarwin) finger_bsd
22
22
-
++ lib.optional (abook != null) abook
23
23
-
++ lib.optional (gnupg != null) gnupg
24
24
-
++ lib.optional (goobook != null) goobook
25
25
-
++ lib.optional (khard != null) khard
26
26
-
++ lib.optional (mu != null) mu;
30
30
+
buildInputs = [ perl' ]
31
31
+
++ lib.optional (!stdenv.isDarwin) bsd-finger
32
32
+
++ lib.optional withAbook abook
33
33
+
++ lib.optional withGnupg gnupg
34
34
+
++ lib.optional withGoobook goobook
35
35
+
++ lib.optional withKhard khard
36
36
+
++ lib.optional withMu mu;
27
37
28
38
configureFlags = [ ]
29
29
-
++ lib.optional (abook != null) "--with-abook"
30
30
-
++ lib.optional (gnupg != null) "--with-gpg"
31
31
-
++ lib.optional (goobook != null) "--with-goobook"
32
32
-
++ lib.optional (khard != null) "--with-khard"
33
33
-
++ lib.optional (mu != null) "--with-mu";
39
39
+
++ lib.optional withAbook "--with-abook"
40
40
+
++ lib.optional withGnupg "--with-gpg"
41
41
+
++ lib.optional withGoobook "--with-goobook"
42
42
+
++ lib.optional withKhard "--with-khard"
43
43
+
++ lib.optional withMu "--with-mu";
34
44
35
35
-
patches = [ ./add-methods-to-rc.patch
45
45
+
patches = [
46
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
57
+
description = "The Little Brother's Database";
46
58
license = licenses.gpl2;
59
59
+
maintainers = with maintainers; [ kaiha bfortz ];
47
60
platforms = platforms.all;
48
48
-
description = "The Little Brother's Database";
49
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
27123
-
lbdb = callPackage ../tools/misc/lbdb { abook = null; gnupg = null; goobook = null; khard = null; mu = null; };
27123
27123
+
lbdb = callPackage ../tools/misc/lbdb { };
27124
27124
27125
27125
lbry = callPackage ../applications/video/lbry { };
27126
27126