sway: 0.7 -> 0.8 (#17026)
This commit is contained in:
parent
c9a3cbb122
commit
6aa50f169b
|
@ -3,39 +3,41 @@
|
||||||
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs
|
, wayland, wlc, libxkbcommon, pixman, fontconfig, pcre, json_c, dbus_libs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "sway-${version}";
|
version = "0.8";
|
||||||
version = "0.7";
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "sway-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Sircmpwn";
|
owner = "Sircmpwn";
|
||||||
repo = "sway";
|
repo = "sway";
|
||||||
rev = "0.7";
|
rev = "${version}";
|
||||||
sha256 = "05mn68brqz7j3a1sb5xd3pxzzdd8swnhw2g7cc9f7rdjr5dlrjip";
|
sha256 = "10i62cn1z7fwg0jwkskmzcaha39lprkl4zvkp59jr5wvpjligdq3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper cmake pkgconfig asciidoc libxslt docbook_xsl ];
|
nativeBuildInputs = [ makeWrapper cmake pkgconfig asciidoc libxslt docbook_xsl ];
|
||||||
|
|
||||||
buildInputs = [ wayland wlc libxkbcommon pixman fontconfig pcre json_c dbus_libs pango cairo libinput ];
|
buildInputs = [ wayland wlc libxkbcommon pixman fontconfig pcre json_c dbus_libs pango cairo libinput ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
|
sed -i s@/etc/sway@$out/etc/sway@g CMakeLists.txt;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
installPhase = "PREFIX=$out make install";
|
installPhase = "PREFIX=$out make install";
|
||||||
|
|
||||||
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ wlc dbus_libs ];
|
LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ wlc dbus_libs ];
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/sway \
|
wrapProgram $out/bin/sway \
|
||||||
--prefix LD_LIBRARY_PATH : "${LD_LIBRARY_PATH}";
|
--prefix LD_LIBRARY_PATH : "${LD_LIBRARY_PATH}";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "i3-compatible window manager for Wayland";
|
description = "i3-compatible window manager for Wayland";
|
||||||
homepage = "http://swaywm.org";
|
homepage = "http://swaywm.org";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue