2021-12-06 16:07:01 +00:00
|
|
|
{ lib, fetchgit, fetchFromGitHub }:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
let
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "5.15.10";
|
|
|
|
overrides = {
|
|
|
|
qtscript.version = "5.15.9";
|
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
mk = name: args:
|
|
|
|
let
|
|
|
|
override = overrides.${name} or {};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
version = override.version or version;
|
|
|
|
src = override.src or
|
|
|
|
fetchgit {
|
|
|
|
inherit (args) url rev sha256;
|
|
|
|
fetchLFS = false;
|
2023-02-02 18:25:31 +00:00
|
|
|
fetchSubmodules = true;
|
2021-12-06 16:07:01 +00:00
|
|
|
deepClone = false;
|
|
|
|
leaveDotGit = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
lib.mapAttrs mk (lib.importJSON ./srcs-generated.json)
|
|
|
|
// {
|
2023-07-15 17:15:38 +00:00
|
|
|
# qtpim has no official releases
|
|
|
|
qtpim = {
|
|
|
|
version = "unstable-2020-11-02";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtpim";
|
|
|
|
# Last commit before Qt5 support was broken
|
|
|
|
rev = "f9a8f0fc914c040d48bbd0ef52d7a68eea175a98";
|
|
|
|
hash = "sha256-/1g+vvHjuRLB1vsm41MrHbBZ+88Udca0iEcbz0Q1BNQ=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
# Has no kde/5.15 branch
|
|
|
|
qtpositioning = rec {
|
|
|
|
version = "5.15.2";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtpositioning";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-L/P+yAQItm3taPpCNoOOm7PNdOFZiIwJJYflk6JDWvU=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
# qtwebkit does not have an official release tarball on the qt mirror and is
|
|
|
|
# mostly maintained by the community.
|
|
|
|
qtwebkit = rec {
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtwebkit";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0x8rng96h19xirn7qkz3lydal6v4vn00bcl0s3brz36dfs0z8wpg";
|
|
|
|
};
|
|
|
|
version = "5.212.0-alpha4";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
# qtsystems has no official releases
|
|
|
|
qtsystems = {
|
|
|
|
version = "unstable-2019-01-03";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtsystems";
|
|
|
|
rev = "e3332ee38d27a134cef6621fdaf36687af1b6f4a";
|
|
|
|
hash = "sha256-P8MJgWiDDBCYo+icbNva0LODy0W+bmQTS87ggacuMP0=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
catapult = fetchgit {
|
|
|
|
url = "https://chromium.googlesource.com/catapult";
|
|
|
|
rev = "5eedfe23148a234211ba477f76fc2ea2e8529189";
|
|
|
|
hash = "sha256-LPfBCEB5tJOljXpptsNk0sHGtJf/wIRL7fccN79Nh6o=";
|
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
qtwebengine = rec {
|
|
|
|
version = "5.15.14";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "qt";
|
|
|
|
repo = "qtwebengine";
|
|
|
|
rev = "v${version}-lts";
|
|
|
|
hash = "sha256-jIoNwRdr0bZ2p0UMp/KDQuwgNjhzzGlb91UGjQgT60Y=";
|
2021-12-06 16:07:01 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|