Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / qt-5 / 5.15 / srcs.nix
blob130fcd332ba4c8097934b466466866afce31061f
1 { lib, fetchgit, fetchFromGitHub }:
3 let
4   version = "5.15.11";
6   mk = name: args:
7     {
8       inherit version;
9       src = fetchgit {
10         inherit (args) url rev sha256;
11         fetchLFS = false;
12         fetchSubmodules = true;
13         deepClone = false;
14         leaveDotGit = false;
15       };
16     };
18 lib.mapAttrs mk (lib.importJSON ./srcs-generated.json)
19 // {
20   # qtpim has no official releases
21   qtpim = {
22     version = "unstable-2020-11-02";
23     src = fetchFromGitHub {
24       owner = "qt";
25       repo = "qtpim";
26       # Last commit before Qt5 support was broken
27       rev = "f9a8f0fc914c040d48bbd0ef52d7a68eea175a98";
28       hash = "sha256-/1g+vvHjuRLB1vsm41MrHbBZ+88Udca0iEcbz0Q1BNQ=";
29     };
30   };
32   # Has no kde/5.15 branch
33   qtpositioning = rec {
34     version = "5.15.2";
35     src = fetchFromGitHub {
36       owner = "qt";
37       repo = "qtpositioning";
38       rev = "v${version}";
39       hash = "sha256-L/P+yAQItm3taPpCNoOOm7PNdOFZiIwJJYflk6JDWvU=";
40     };
41   };
43   # qtwebkit does not have an official release tarball on the qt mirror and is
44   # mostly maintained by the community.
45   qtwebkit = rec {
46     src = fetchFromGitHub {
47       owner = "qt";
48       repo = "qtwebkit";
49       rev = "v${version}";
50       sha256 = "0x8rng96h19xirn7qkz3lydal6v4vn00bcl0s3brz36dfs0z8wpg";
51     };
52     version = "5.212.0-alpha4";
53   };
55   # qtsystems has no official releases
56   qtsystems = {
57     version = "unstable-2019-01-03";
58     src = fetchFromGitHub {
59       owner = "qt";
60       repo = "qtsystems";
61       rev = "e3332ee38d27a134cef6621fdaf36687af1b6f4a";
62       hash = "sha256-P8MJgWiDDBCYo+icbNva0LODy0W+bmQTS87ggacuMP0=";
63     };
64   };
66   catapult = fetchgit {
67     url = "https://chromium.googlesource.com/catapult";
68     rev = "5eedfe23148a234211ba477f76fc2ea2e8529189";
69     hash = "sha256-LPfBCEB5tJOljXpptsNk0sHGtJf/wIRL7fccN79Nh6o=";
70   };
72   qtscript = rec {
73     version = "5.15.15";
75     src = fetchFromGitHub {
76       owner = "qt";
77       repo = "qtscript";
78       rev = "v${version}-lts";
79       hash = "sha256-o2YG1m3LuG9Kq9Bqi1wRa6ceHsivK+hJR7w08NE/kBo=";
80     };
81   };
83   qtwebengine = rec {
84     version = "5.15.15";
86     src = fetchFromGitHub {
87       owner = "qt";
88       repo = "qtwebengine";
89       rev = "v${version}-lts";
90       hash = "sha256-AmW3u8D9Y8lXZu0aiuxYXNPzZ5GCXeBQGfAcgFuXAh4=";
91       fetchSubmodules = true;
92     };
93   };