2021-10-20 17:02:20 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
2020-02-09 20:37:12 +00:00
|
|
|
, glib
|
|
|
|
, autoreconfHook
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2020-02-09 20:37:12 +00:00
|
|
|
, systemd
|
|
|
|
, fetchFromGitLab
|
2021-10-20 17:02:20 +01:00
|
|
|
, nix-update-script
|
2020-02-09 20:37:12 +00:00
|
|
|
}:
|
2018-02-14 03:10:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-desktop-testing";
|
2021-10-20 17:02:20 +01:00
|
|
|
version = "2021.1";
|
2018-02-14 03:10:07 +00:00
|
|
|
|
2020-02-09 20:37:12 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = "gnome-desktop-testing";
|
2021-10-20 17:02:20 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-PWn4eEZskY0YgMpf6O2dgXNSu8b8T311vFHREv2HE/Q=";
|
2018-02-14 03:10:07 +00:00
|
|
|
};
|
|
|
|
|
2020-02-09 20:37:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-02-09 20:37:12 +00:00
|
|
|
];
|
2018-02-14 03:10:07 +00:00
|
|
|
|
2020-02-09 20:37:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
systemd
|
|
|
|
];
|
2018-02-14 03:10:07 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-10-20 17:02:20 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = "gnome-desktop-testing";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2020-02-09 20:37:12 +00:00
|
|
|
description = "GNOME test runner for installed tests";
|
|
|
|
homepage = "https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests";
|
|
|
|
license = licenses.lgpl2Plus;
|
2018-02-14 03:10:07 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jtojnar ];
|
|
|
|
};
|
|
|
|
}
|