git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107206 from romildo/upd.sweet

sweet: 1.10.5 -> 2.0

commitf37c665ea37d3842473d250ad097f0617344d3cd authorSandro <sandro.jaeckel@gmail.com> dateMon 28 Dec 2020, 04:10 (6 years ago) parenta6eab7f718805e
1 file changed+15−15
pkgs/data/themes/sweet/default.nix+15−15
pkgs/data/themes/sweet/default.nix+15−15
@@ -1,46 +1,46 @@
1−{ stdenv, fetchurl, unzip }:
1+{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
44 pname = "sweet";
5− version = "1.10.5";
5+ version = "2.0";
66
77 srcs = [
88 (fetchurl {
9− url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar-Blue.zip";
10− sha256 = "11040hx8ci4vbnyaj63zj924v0ln7rjm9a28mcqdax60h3dp12lj";
9+ url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Ambar-Blue.tar.xz";
10+ sha256 = "028pk07im7pab8a2vh3bvjm8jg37dpvn4c1mwn6vhb6wcr9v5c75";
1111 })
1212 (fetchurl {
13− url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar.zip";
14− sha256 = "0lvnjmirpwdav8q0bfbhybwkr2h6dilc7lhhj18xd2k57xadjmxr";
13+ url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Ambar.tar.xz";
14+ sha256 = "0zmdmqndj65kr43g3z57blrmv0y856zlfprm6y45zbf4xz3ybkg6";
1515 })
1616 (fetchurl {
17− url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Dark.zip";
18− sha256 = "0a7mh1pgvi8w1ahsmvgnmpdawm30lcjqk4zqvg0lqadsd04dn4h1";
17+ url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Dark.tar.xz";
18+ sha256 = "02sw664fkrfpsygspq8fn4zgk8rxs9rd29nnx6nyvkji68mb51s6";
1919 })
2020 (fetchurl {
21− url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-mars.zip";
22− sha256 = "0n2dkl35qrik10wvhvkayyra987p03g56pxhz5kc73cbsl5zd96l";
21+ url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-mars.tar.xz";
22+ sha256 = "14rl3il61jyqwiqlpgbh397q3rcs7jcf2pvr2763ar5a9czmy8h6";
2323 })
2424 (fetchurl {
25− url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet.zip";
26− sha256 = "0wwmc3wj2pjg4kimfkvcsimk3s4s7l7k000vxqi8yjlfs70f273c";
25+ url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet.tar.xz";
26+ sha256 = "0rza3yxwj256ibqimymjhd6lpjzr7fkhggq0ijdg1wab3q91x66q";
2727 })
2828 ];
2929
30− nativeBuildInputs = [ unzip ];
31−
3230 sourceRoot = ".";
3331
3432 installPhase = ''
33+ runHook preInstall
3534 mkdir -p $out/share/themes/
3635 cp -a Sweet* $out/share/themes/
3736 rm $out/share/themes/*/{LICENSE,README*}
37+ runHook postInstall
3838 '';
3939
4040 meta = with stdenv.lib; {
4141 description = "Light and dark colorful Gtk3.20+ theme";
4242 homepage = "https://github.com/EliverLara/Sweet";
43− license = licenses.gpl3;
43+ license = licenses.gpl3Only;
4444 maintainers = with maintainers; [ fuzen ];
4545 platforms = platforms.linux;
4646 };