libnss-mysql: init at 1.7.1

Netali a2ac470f bde80c54

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