Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 56 lines 995 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 gettext, 7 isocodes, 8 libstartup_notification, 9 gtk3, 10 dconf, 11 wrapGAppsHook3, 12 mateUpdateScript, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "mate-desktop"; 17 version = "1.28.2"; 18 19 outputs = [ 20 "out" 21 "dev" 22 ]; 23 24 src = fetchurl { 25 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 sha256 = "MrtLeSAUs5HB4biunBioK01EdlCYS0y6fSjpVWSWSqI="; 27 }; 28 29 nativeBuildInputs = [ 30 pkg-config 31 gettext 32 wrapGAppsHook3 33 ]; 34 35 buildInputs = [ 36 dconf 37 isocodes 38 ]; 39 40 propagatedBuildInputs = [ 41 gtk3 42 libstartup_notification 43 ]; 44 45 enableParallelBuilding = true; 46 47 passthru.updateScript = mateUpdateScript { inherit pname; }; 48 49 meta = with lib; { 50 description = "Library with common API for various MATE modules"; 51 homepage = "https://mate-desktop.org"; 52 license = licenses.gpl2Plus; 53 platforms = platforms.linux; 54 teams = [ teams.mate ]; 55 }; 56}