@@ -17,32 +17,18 @@
1717}:
1818
1919let
20− # Add two patches to fix compile errors with wlroots 0.13:
21− totalPatches = patches ++ [
22− # Fix the renamed constant WLR_KEY_PRESSED => WL_KEYBOARD_KEY_STATE_PRESSED
23− # https://github.com/djpohly/dwl/pull/66
24− (fetchpatch {
25− url = "https://github.com/djpohly/dwl/commit/a42613db9d9f6debfa4fb2363d75af9457d238ed.patch";
26− sha256 = "0h76hx1fhazi07gqg7sljh13f91v6bvjy7m9qqmimhvqgfwdcc0j";
27− })
28− # Use the new signature for wlr_backend_autocreate, which removes an argument:
29− # https://github.com/djpohly/dwl/pull/76
30− (fetchpatch {
31− url = "https://github.com/djpohly/dwl/commit/0ff13cf216056a36a261f4eed53c6a864989a9fb.patch";
32− sha256 = "18clpdb4il1vxf1b0cx0qrwild68s9dism8ab66zpmvxs5qag2dm";
33− })
34− ];
20+ totalPatches = patches ++ [ ];
3521in
3622
3723stdenv.mkDerivation rec {
3824 pname = "dwl";
39− version = "0.2";
25+ version = "0.2.1";
4026
4127 src = fetchFromGitHub {
4228 owner = "djpohly";
4329 repo = pname;
4430 rev = "v${version}";
45− sha256 = "gUaFTkpIQDswEubllMgvxPfCaEYFO7mODzjPyW7XsGQ=";
31+ sha256 = "sha256-lfUAymLA4+E9kULZIueA+9gyVZYgaVS0oTX0LJjsSEs=";
4632 };
4733
4834 nativeBuildInputs = [ pkg-config ];