tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
bird3: init at 3.0.1
Tom Herbers
1 year ago
eb58cf83
daeb10e5
+57
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
bi
bird3
dont-create-sysconfdir-2.patch
package.nix
+6
pkgs/by-name/bi/bird3/dont-create-sysconfdir-2.patch
···
1
1
+
--- a/Makefile.in
2
2
+
+++ b/Makefile.in
3
3
+
@@ -165,2 +165,2 @@
4
4
+
install: all
5
5
+
- $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(runstatedir)
6
6
+
+ $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir)
+51
pkgs/by-name/bi/bird3/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchurl,
5
5
+
flex,
6
6
+
bison,
7
7
+
readline,
8
8
+
libssh,
9
9
+
nixosTests,
10
10
+
}:
11
11
+
12
12
+
stdenv.mkDerivation rec {
13
13
+
pname = "bird";
14
14
+
version = "3.0.1";
15
15
+
16
16
+
src = fetchurl {
17
17
+
url = "https://bird.network.cz/download/bird-${version}.tar.gz";
18
18
+
hash = "sha256-iGhAPKqE4lVLtuYK2+fGV+e7fErEGRDjmPNeI2upD6E=";
19
19
+
};
20
20
+
21
21
+
nativeBuildInputs = [
22
22
+
flex
23
23
+
bison
24
24
+
];
25
25
+
buildInputs = [
26
26
+
readline
27
27
+
libssh
28
28
+
];
29
29
+
30
30
+
patches = [
31
31
+
./dont-create-sysconfdir-2.patch
32
32
+
];
33
33
+
34
34
+
CPP = "${stdenv.cc.targetPrefix}cpp -E";
35
35
+
36
36
+
configureFlags = [
37
37
+
"--localstatedir=/var"
38
38
+
"--runstatedir=/run/bird"
39
39
+
];
40
40
+
41
41
+
passthru.tests = nixosTests.bird;
42
42
+
43
43
+
meta = with lib; {
44
44
+
changelog = "https://gitlab.nic.cz/labs/bird/-/blob/v${version}/NEWS";
45
45
+
description = "BIRD Internet Routing Daemon";
46
46
+
homepage = "https://bird.network.cz";
47
47
+
license = licenses.gpl2Plus;
48
48
+
maintainers = with maintainers; [ herbetom ];
49
49
+
platforms = platforms.linux;
50
50
+
};
51
51
+
}