nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 65 lines 1.4 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, gdk-pixbuf 5, librsvg 6, gtk-engine-murrine 7, gtk3 8, gnome 9, gnome-icon-theme 10, numix-icon-theme-circle 11, hicolor-icon-theme 12}: 13 14stdenv.mkDerivation rec { 15 pname = "canta-theme"; 16 version = "2021-09-08"; 17 18 src = fetchFromGitHub { 19 owner = "vinceliuice"; 20 repo = pname; 21 rev = version; 22 sha256 = "05h42nrggb6znzjcbh4lqqfcm41h4r85n3vwimp3l4lq5p90igr2"; 23 }; 24 25 nativeBuildInputs = [ 26 gtk3 27 ]; 28 29 buildInputs = [ 30 gdk-pixbuf 31 librsvg 32 ]; 33 34 propagatedBuildInputs = [ 35 gnome.adwaita-icon-theme 36 gnome-icon-theme 37 numix-icon-theme-circle 38 hicolor-icon-theme 39 ]; 40 41 propagatedUserEnvPkgs = [ 42 gtk-engine-murrine 43 ]; 44 45 dontDropIconThemeCache = true; 46 47 installPhase = '' 48 patchShebangs . 49 mkdir -p $out/share/themes 50 name= ./install.sh --dest $out/share/themes 51 rm $out/share/themes/*/{AUTHORS,COPYING} 52 install -D -t $out/share/backgrounds wallpaper/canta-wallpaper.svg 53 mkdir -p $out/share/icons 54 cp -a icons/Canta $out/share/icons 55 gtk-update-icon-cache $out/share/icons/Canta 56 ''; 57 58 meta = with lib; { 59 description = "Flat Design theme for GTK based desktop environments"; 60 homepage = "https://github.com/vinceliuice/Canta-theme"; 61 license = licenses.gpl2Only; 62 platforms = platforms.linux; # numix-icon-theme-circle unavailable in darwin 63 maintainers = [ maintainers.romildo ]; 64 }; 65}