diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2018-11-30 01:37:31 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2018-11-30 01:53:49 +0100 |
commit | 80756cdb79d68ddf16425767918c79548daa61f8 (patch) | |
tree | 55c95754de06d2779af5d46027a536c3d1ac3ff7 /pkgs/development | |
parent | 3f90f52b07518f1b068a254424aae479df63eae5 (diff) |
wlroots: 0.1 -> 0.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/wlroots/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/wlroots/default.nix b/pkgs/development/libraries/wlroots/default.nix index 4aff606318340..9791f04fd8796 100644 --- a/pkgs/development/libraries/wlroots/default.nix +++ b/pkgs/development/libraries/wlroots/default.nix @@ -7,7 +7,7 @@ let pname = "wlroots"; - version = "0.1"; + version = "0.2"; meson480 = meson.overrideAttrs (oldAttrs: rec { name = pname + "-" + version; pname = "meson"; @@ -28,13 +28,13 @@ in stdenv.mkDerivation rec { owner = "swaywm"; repo = "wlroots"; rev = version; - sha256 = "0xfipgg2qh2xcf3a1pzx8pyh1aqpb9rijdyi0as4s6fhgy4w269c"; + sha256 = "0gfxawjlb736xl90zfv3n6zzf5n1cacgzflqi1zq1wn7wd3j6ppv"; }; - patches = [ (fetchpatch { # TODO: Only required for version 0.1 - url = https://github.com/swaywm/wlroots/commit/be6210cf8216c08a91e085dac0ec11d0e34fb217.patch; - sha256 = "0njv7mr4ark603w79cxcsln29galh87vpzsx2dzkrl1x5x4i6cj5"; - }) ]; + postPatch = '' + substituteInPlace meson.build \ + --replace "version: '0.1.0'" "version: '${version}.0'" + ''; # $out for the library, $bin for rootston, and $examples for the example # programs (in examples) AND rootston |