nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 67 lines 1.2 kB view raw
1{ lib, stdenv 2, fetchurl 3, meson 4, ninja 5, pkg-config 6, vala 7, gettext 8, libxml2 9, desktop-file-utils 10, wrapGAppsHook 11, glib 12, gtk3 13, libgtop 14, libdazzle 15, gnome 16, tracker 17, libhandy 18}: 19 20stdenv.mkDerivation rec { 21 pname = "gnome-usage"; 22 version = "3.38.1"; 23 24 src = fetchurl { 25 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 26 sha256 = "mMdm4X4VZXEfx0uaJP0u0NX618y0VRlhLdTiFHaO05M="; 27 }; 28 29 nativeBuildInputs = [ 30 desktop-file-utils 31 gettext 32 libxml2 33 meson 34 ninja 35 pkg-config 36 vala 37 wrapGAppsHook 38 ]; 39 40 buildInputs = [ 41 glib 42 gnome.adwaita-icon-theme 43 gtk3 44 libdazzle 45 libgtop 46 tracker 47 libhandy 48 ]; 49 50 postPatch = '' 51 chmod +x build-aux/meson/postinstall.sh 52 patchShebangs build-aux/meson/postinstall.sh 53 ''; 54 55 passthru = { 56 updateScript = gnome.updateScript { 57 packageName = pname; 58 }; 59 }; 60 61 meta = with lib; { 62 description = "A nice way to view information about use of system resources, like memory and disk space"; 63 license = licenses.gpl3; 64 platforms = platforms.linux; 65 maintainers = teams.gnome.members; 66 }; 67}