google-compute-engine-oslogin: 1.4.3 -> 1.5.3

This commit is contained in:
Orivej Desh 2019-07-29 16:01:50 +00:00
parent 2b44d15be9
commit cf979f246e

View File

@ -7,15 +7,16 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "google-compute-engine-oslogin-${version}"; name = "google-compute-engine-oslogin-${version}";
version = "1.4.3"; version = "1.5.3";
# from packages/google-compute-engine-oslogin/packaging/debian/changelog
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "compute-image-packages";
owner = "GoogleCloudPlatform"; owner = "GoogleCloudPlatform";
rev = "2ccfe80f162a01b5b7c3316ca37981fc8b3fc32a"; repo = "compute-image-packages";
sha256 = "036g7609ni164rmm68pzi47vrywfz2rcv0ad67gqf331pvlr92x1"; rev = "20190522";
sha256 = "16jbbrnz49g843h813r408dbvfa2hicf8canxwbfxr2kzhv7ycmm";
}; };
sourceRoot = "source/google_compute_engine_oslogin"; sourceRoot = "source/packages/google-compute-engine-oslogin";
postPatch = '' postPatch = ''
# change sudoers dir from /var/google-sudoers.d to /run/google-sudoers.d (managed through systemd-tmpfiles) # change sudoers dir from /var/google-sudoers.d to /run/google-sudoers.d (managed through systemd-tmpfiles)
@ -39,6 +40,8 @@ stdenv.mkDerivation rec {
install -Dm755 google_{oslogin_nss_cache,authorized_keys} $out/bin install -Dm755 google_{oslogin_nss_cache,authorized_keys} $out/bin
''; '';
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/GoogleCloudPlatform/compute-image-packages; homepage = https://github.com/GoogleCloudPlatform/compute-image-packages;
description = "OS Login Guest Environment for Google Compute Engine"; description = "OS Login Guest Environment for Google Compute Engine";