Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / mir / default.nix
blobb61419eacf47f47fb800dc6ab32d23240d8ad5fe
1 { callPackage, fetchpatch }:
3 let
4   common = callPackage ./common.nix { };
5 in
7   mir = common {
8     version = "2.17.0";
9     hash = "sha256-iDJ7NIFoSSXjMrHK2I6Linf7z0hvShj8fr6BGxgK5gE=";
10   };
12   mir_2_15 = common {
13     version = "2.15.0";
14     pinned = true;
15     hash = "sha256-c1+gxzLEtNCjR/mx76O5QElQ8+AO4WsfcG7Wy1+nC6E=";
16     patches = [
17       # Fix gbm-kms tests
18       # Remove when version > 2.15.0
19       (fetchpatch {
20         name = "0001-mir-Fix-the-signature-of-drmModeCrtcSetGamma.patch";
21         url = "https://github.com/canonical/mir/commit/98250e9c32c5b9b940da2fb0a32d8139bbc68157.patch";
22         hash = "sha256-tTtOHGNue5rsppOIQSfkOH5sVfFSn/KPGHmubNlRtLI=";
23       })
24       # Fix external_client tests
25       # Remove when version > 2.15.0
26       (fetchpatch {
27         name = "0002-mir-Fix-cannot_start_X_Server_and_outdated_tests.patch";
28         url = "https://github.com/canonical/mir/commit/0704026bd06372ea8286a46d8c939286dd8a8c68.patch";
29         hash = "sha256-k+51piPQandbHdm+ioqpBrb+C7Aqi2kugchAehZ1aiU=";
30       })
31     ];
32   };