wlroots: 0.1 -> 0.2

This commit is contained in:
Michael Weiss 2018-11-30 01:37:31 +01:00
parent 3f90f52b07
commit 80756cdb79

View File

@ -7,7 +7,7 @@
let let
pname = "wlroots"; pname = "wlroots";
version = "0.1"; version = "0.2";
meson480 = meson.overrideAttrs (oldAttrs: rec { meson480 = meson.overrideAttrs (oldAttrs: rec {
name = pname + "-" + version; name = pname + "-" + version;
pname = "meson"; pname = "meson";
@ -28,13 +28,13 @@ in stdenv.mkDerivation rec {
owner = "swaywm"; owner = "swaywm";
repo = "wlroots"; repo = "wlroots";
rev = version; rev = version;
sha256 = "0xfipgg2qh2xcf3a1pzx8pyh1aqpb9rijdyi0as4s6fhgy4w269c"; sha256 = "0gfxawjlb736xl90zfv3n6zzf5n1cacgzflqi1zq1wn7wd3j6ppv";
}; };
patches = [ (fetchpatch { # TODO: Only required for version 0.1 postPatch = ''
url = https://github.com/swaywm/wlroots/commit/be6210cf8216c08a91e085dac0ec11d0e34fb217.patch; substituteInPlace meson.build \
sha256 = "0njv7mr4ark603w79cxcsln29galh87vpzsx2dzkrl1x5x4i6cj5"; --replace "version: '0.1.0'" "version: '${version}.0'"
}) ]; '';
# $out for the library, $bin for rootston, and $examples for the example # $out for the library, $bin for rootston, and $examples for the example
# programs (in examples) AND rootston # programs (in examples) AND rootston