1ed146b438
New upstream release.
33 lines
995 B
Nix
33 lines
995 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, lightdm, gtk3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lightdm-mini-greeter-${version}";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "prikhi";
|
|
repo = "lightdm-mini-greeter";
|
|
rev = version;
|
|
sha256 = "1xlj5wqagp765rqw40ci4wir21qwyszasynk82x8308k5d3asvwb";
|
|
};
|
|
|
|
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 prikhi ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|