mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
libnss-mysql: init at 1.7.1
This commit is contained in:
parent
bde80c54db
commit
a2ac470fb2
2 changed files with 32 additions and 0 deletions
30
pkgs/os-specific/linux/libnss-mysql/default.nix
Normal file
30
pkgs/os-specific/linux/libnss-mysql/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, libmysqlclient }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libnss-mysql";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saknopper";
|
||||
repo = "libnss-mysql";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fhsswa3h2nkhjkyjxxqnj07rlx6bmfvd8j521snimx2jba8h0d6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook which ];
|
||||
buildInputs = [ libmysqlclient ];
|
||||
|
||||
configureFlags = [ "--sysconfdir=/etc" ];
|
||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||
postInstall = ''
|
||||
rm -r $out/etc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "MySQL module for the Solaris Nameservice Switch (NSS)";
|
||||
homepage = "https://github.com/saknopper/libnss-mysql";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ netali ];
|
||||
};
|
||||
}
|
|
@ -4110,6 +4110,8 @@ with pkgs;
|
|||
|
||||
libndtypes = callPackage ../development/libraries/libndtypes { };
|
||||
|
||||
libnss-mysql = callPackage ../os-specific/linux/libnss-mysql { };
|
||||
|
||||
libxnd = callPackage ../development/libraries/libxnd { };
|
||||
|
||||
lifeograph = callPackage ../applications/editors/lifeograph { };
|
||||
|
|
Loading…
Reference in a new issue