Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 57 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 gettext, 7 itstool, 8 libxml2, 9 mate-desktop, 10 dconf, 11 vte, 12 pcre2, 13 wrapGAppsHook3, 14 mateUpdateScript, 15 nixosTests, 16}: 17 18stdenv.mkDerivation rec { 19 pname = "mate-terminal"; 20 version = "1.28.1"; 21 22 src = fetchurl { 23 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 sha256 = "8TXrGp4q4ieY7LLcGRT9tM/XdOa7ZcAVK+N8xslGnpI="; 25 }; 26 27 strictDeps = true; 28 29 nativeBuildInputs = [ 30 gettext 31 itstool 32 pkg-config 33 libxml2 # xmllint 34 wrapGAppsHook3 35 ]; 36 37 buildInputs = [ 38 dconf 39 mate-desktop 40 pcre2 41 vte 42 ]; 43 44 enableParallelBuilding = true; 45 46 passthru.updateScript = mateUpdateScript { inherit pname; }; 47 48 passthru.tests.test = nixosTests.terminal-emulators.mate-terminal; 49 50 meta = with lib; { 51 description = "MATE desktop terminal emulator"; 52 homepage = "https://mate-desktop.org"; 53 license = licenses.gpl3Plus; 54 platforms = platforms.unix; 55 teams = [ teams.mate ]; 56 }; 57}