2021-03-13 19:41:38 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-02-19 07:13:38 +00:00
|
|
|
, fetchurl
|
2021-03-13 19:41:38 +00:00
|
|
|
, gettext
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2021-03-16 17:37:45 +00:00
|
|
|
, libgtop
|
2021-03-13 19:41:38 +00:00
|
|
|
, gtk3
|
|
|
|
, libhandy
|
|
|
|
, pcre2
|
|
|
|
, vte
|
|
|
|
, appstream-glib
|
|
|
|
, desktop-file-utils
|
|
|
|
, git
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, sassc
|
|
|
|
, wrapGAppsHook
|
2020-11-13 18:54:56 +00:00
|
|
|
, nixosTests
|
2021-03-13 19:41:38 +00:00
|
|
|
}:
|
|
|
|
|
2022-02-19 07:13:38 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-console";
|
|
|
|
version = "42.beta";
|
2021-03-13 19:41:38 +00:00
|
|
|
|
2022-02-19 07:13:38 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "Lq/shyAhDcwB5HqpihvGx2+xwVU2Xax7/NerFwR36DQ=";
|
2021-03-13 19:41:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gettext
|
2021-03-16 17:37:45 +00:00
|
|
|
libgtop
|
2021-05-07 21:18:14 +00:00
|
|
|
gnome.nautilus
|
2021-03-13 19:41:38 +00:00
|
|
|
gtk3
|
|
|
|
libhandy
|
|
|
|
pcre2
|
|
|
|
vte
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream-glib
|
|
|
|
desktop-file-utils
|
|
|
|
git
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
sassc
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
2022-02-19 07:13:38 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
2021-03-13 19:41:38 +00:00
|
|
|
|
2020-11-13 18:54:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.kgx;
|
|
|
|
|
2021-03-13 19:41:38 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple user-friendly terminal emulator for the GNOME desktop";
|
2022-02-19 07:13:38 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/console";
|
2021-03-13 19:41:38 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-02-19 07:13:38 +00:00
|
|
|
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
|
2021-03-13 19:41:38 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|