Unverified Commit 3d439b83 authored by Stephen Huan's avatar Stephen Huan
Browse files

xlayoutdisplay: 1.5.0 -> 1.5.1

parent 5e2f19ea
Loading
Loading
Loading
Loading
+3 −13
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  pkg-config,
  xorg,
  boost,
@@ -11,24 +10,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "xlayoutdisplay";
  version = "1.5.0";
  version = "1.5.1";

  src = fetchFromGitHub {
    owner = "alex-courtis";
    repo = "xlayoutdisplay";
    rev = "v${finalAttrs.version}";
    hash = "sha256-A37jFhVTW/3QNEf776Oi3ViRK+ebOPRTsEQqdmNhA7E=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-gJucWffchhTFdYEQqjbj1OdPTBSmGDDcKbOyIWdWQig=";
  };

  patches = [
    # https://github.com/alex-courtis/xlayoutdisplay/pull/34
    (fetchpatch2 {
      name = "cpp-version.patch";
      url = "https://github.com/alex-courtis/xlayoutdisplay/commit/56983b45070edde78cc816d9cff4111315e94a7a.patch";
      hash = "sha256-zd28Nkw8Kmm20zGT6wvdBHcHfE4p+RFotUO9zJwPQMc=";
    })
  ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = with xorg; [
    libX11