mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
184fe6a337
105adb6a8d
...42.beta
70 lines
1.2 KiB
Nix
70 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, gettext
|
|
, gnome
|
|
, libgtop
|
|
, gtk3
|
|
, libhandy
|
|
, pcre2
|
|
, vte
|
|
, appstream-glib
|
|
, desktop-file-utils
|
|
, git
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, python3
|
|
, sassc
|
|
, wrapGAppsHook
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-console";
|
|
version = "42.beta";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-console/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "Lq/shyAhDcwB5HqpihvGx2+xwVU2Xax7/NerFwR36DQ=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gettext
|
|
libgtop
|
|
gnome.nautilus
|
|
gtk3
|
|
libhandy
|
|
pcre2
|
|
vte
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
appstream-glib
|
|
desktop-file-utils
|
|
git
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
python3
|
|
sassc
|
|
wrapGAppsHook
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.kgx;
|
|
|
|
meta = with lib; {
|
|
description = "Simple user-friendly terminal emulator for the GNOME desktop";
|
|
homepage = "https://gitlab.gnome.org/GNOME/console";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|