diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-06-18 11:38:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 11:38:35 -0400 |
commit | 8180c32b7384878687e352c2ab7275fd7d38267a (patch) | |
tree | f6207a05db299a0bc6559357747e92b502ab2bdf /pkgs/applications | |
parent | 22f818dcf3e9825f18b5191f8de3cecf36dabed7 (diff) | |
parent | 83b389394b8ede5eb29b72c9ccda9380ee4aaf4e (diff) |
Merge pull request #39153 from mnacamura/lightdm-mini-greeter
lightdm-mini-greeter: init at 0.3.2
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/display-managers/lightdm-mini-greeter/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix new file mode 100644 index 000000000000..ef80aa00563f --- /dev/null +++ b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, lightdm, gtk3 }: + +stdenv.mkDerivation rec { + name = "lightdm-mini-greeter-${version}"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "prikhi"; + repo = "lightdm-mini-greeter"; + rev = version; + sha256 = "1g3lrh034w38hiq96b0xmghmlf87hcycwdh06dwkdksr0hl08wxy"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ lightdm gtk3 ]; + + configureFlags = [ "--sysconfdir=/etc" ]; + makeFlags = [ "configdir=$(out)/etc" ]; + + postInstall = '' + substituteInPlace "$out/share/xgreeters/lightdm-mini-greeter.desktop" \ + --replace "Exec=lightdm-mini-greeter" "Exec=$out/bin/lightdm-mini-greeter" + ''; + + meta = with stdenv.lib; { + description = "A minimal, configurable, single-user GTK3 LightDM greeter"; + homepage = https://github.com/prikhi/lightdm-mini-greeter; + license = licenses.gpl3; + maintainers = with maintainers; [ mnacamura ]; + platforms = platforms.linux; + }; +} |