Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenvNoCC, 4 fetchFromGitHub, 5 nix-update-script, 6 meson, 7 ninja, 8 hicolor-icon-theme, 9 gtk3, 10 xcursorgen, 11 librsvg, 12}: 13 14stdenvNoCC.mkDerivation rec { 15 pname = "elementary-icon-theme"; 16 version = "8.1.0"; 17 18 src = fetchFromGitHub { 19 owner = "elementary"; 20 repo = "icons"; 21 rev = version; 22 sha256 = "sha256-WltMfWMcfUqpnfuGa6NzfxSeTais0MLsiu82ybaOcvs="; 23 }; 24 25 nativeBuildInputs = [ 26 gtk3 27 librsvg 28 meson 29 ninja 30 xcursorgen 31 ]; 32 33 propagatedBuildInputs = [ 34 hicolor-icon-theme 35 ]; 36 37 dontDropIconThemeCache = true; 38 39 mesonFlags = [ 40 "-Dvolume_icons=false" # Tries to install some icons to / 41 "-Dpalettes=false" # Don't install gimp and inkscape palette files 42 ]; 43 44 postFixup = "gtk-update-icon-cache $out/share/icons/elementary"; 45 46 passthru = { 47 updateScript = nix-update-script { }; 48 }; 49 50 meta = with lib; { 51 description = "Named, vector icons for elementary OS"; 52 longDescription = '' 53 An original set of vector icons designed specifically for elementary OS and its desktop environment: Pantheon. 54 ''; 55 homepage = "https://github.com/elementary/icons"; 56 license = licenses.gpl3Plus; 57 platforms = platforms.linux; 58 teams = [ teams.pantheon ]; 59 }; 60}