tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libnss-mysql: init at 1.7.1
Netali
3 years ago
a2ac470f
bde80c54
+32
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
libnss-mysql
default.nix
top-level
all-packages.nix
+30
pkgs/os-specific/linux/libnss-mysql/default.nix
···
1
1
+
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, libmysqlclient }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
pname = "libnss-mysql";
5
5
+
version = "1.7.1";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "saknopper";
9
9
+
repo = "libnss-mysql";
10
10
+
rev = "v${version}";
11
11
+
sha256 = "1fhsswa3h2nkhjkyjxxqnj07rlx6bmfvd8j521snimx2jba8h0d6";
12
12
+
};
13
13
+
14
14
+
nativeBuildInputs = [ autoreconfHook which ];
15
15
+
buildInputs = [ libmysqlclient ];
16
16
+
17
17
+
configureFlags = [ "--sysconfdir=/etc" ];
18
18
+
installFlags = [ "sysconfdir=$(out)/etc" ];
19
19
+
postInstall = ''
20
20
+
rm -r $out/etc
21
21
+
'';
22
22
+
23
23
+
meta = with lib; {
24
24
+
description = "MySQL module for the Solaris Nameservice Switch (NSS)";
25
25
+
homepage = "https://github.com/saknopper/libnss-mysql";
26
26
+
license = licenses.gpl2Plus;
27
27
+
platforms = platforms.linux;
28
28
+
maintainers = with maintainers; [ netali ];
29
29
+
};
30
30
+
}
+2
pkgs/top-level/all-packages.nix
···
4110
4110
4111
4111
libndtypes = callPackage ../development/libraries/libndtypes { };
4112
4112
4113
4113
+
libnss-mysql = callPackage ../os-specific/linux/libnss-mysql { };
4114
4114
+
4113
4115
libxnd = callPackage ../development/libraries/libxnd { };
4114
4116
4115
4117
lifeograph = callPackage ../applications/editors/lifeograph { };