nixpkgs/pkgs/applications/terminal-emulators/gnome-console/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.2 KiB
Nix
Raw Normal View History

2021-03-13 19:41:38 +00:00
{ lib
, stdenv
, fetchurl
2021-03-13 19:41:38 +00:00
, gettext
, gnome
, 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
, nixosTests
2021-03-13 19:41:38 +00:00
}:
stdenv.mkDerivation rec {
pname = "gnome-console";
version = "42.beta";
2021-03-13 19:41: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
libgtop
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
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
2021-03-13 19:41:38 +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";
homepage = "https://gitlab.gnome.org/GNOME/console";
2021-03-13 19:41:38 +00:00
license = licenses.gpl3Plus;
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
2021-03-13 19:41:38 +00:00
platforms = platforms.linux;
};
}