git.iko.soy/typeable/nixpkgs
on master help sign in
sweet: init at 1.10.5
commit4c8ffa4e8f2565b6dc35ad066ac678a25cf5628a authorFuzen <fuzen@protonmail.com> dateMon 9 Dec 2019, 21:37 (7 years ago) parent280f602
2 files changed+49
pkgs/data/themes/sweet/default.nix+47 pkgs/top-level/all-packages.nix+2
pkgs/data/themes/sweet/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ stdenv, fetchurl, unzip }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "sweet";
5+ version = "1.10.5";
6+
7+ srcs = [
8+ (fetchurl {
9+ url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar-Blue.zip";
10+ sha256 = "11040hx8ci4vbnyaj63zj924v0ln7rjm9a28mcqdax60h3dp12lj";
11+ })
12+ (fetchurl {
13+ url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar.zip";
14+ sha256 = "0lvnjmirpwdav8q0bfbhybwkr2h6dilc7lhhj18xd2k57xadjmxr";
15+ })
16+ (fetchurl {
17+ url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Dark.zip";
18+ sha256 = "0a7mh1pgvi8w1ahsmvgnmpdawm30lcjqk4zqvg0lqadsd04dn4h1";
19+ })
20+ (fetchurl {
21+ url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-mars.zip";
22+ sha256 = "0n2dkl35qrik10wvhvkayyra987p03g56pxhz5kc73cbsl5zd96l";
23+ })
24+ (fetchurl {
25+ url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet.zip";
26+ sha256 = "0wwmc3wj2pjg4kimfkvcsimk3s4s7l7k000vxqi8yjlfs70f273c";
27+ })
28+ ];
29+
30+ nativeBuildInputs = [ unzip ];
31+
32+ sourceRoot = ".";
33+
34+ installPhase = ''
35+ mkdir -p $out/share/themes/
36+ cp -a Sweet* $out/share/themes/
37+ rm $out/share/themes/*/{LICENSE,README*}
38+ '';
39+
40+ meta = with stdenv.lib; {
41+ description = "Light and dark colorful Gtk3.20+ theme";
42+ homepage = "https://github.com/EliverLara/Sweet";
43+ license = licenses.gpl3;
44+ maintainers = with maintainers; [ fuzen ];
45+ platforms = platforms.linux;
46+ };
47+}
pkgs/top-level/all-packages.nix+2
@@ -17557,6 +17557,8 @@ in
1755717557
1755817558 shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { };
1755917559
17560+ sweet = callPackage ../data/themes/sweet { };
17561+
1756017562 mime-types = callPackage ../data/misc/mime-types { };
1756117563
1756217564 shared-mime-info = callPackage ../data/misc/shared-mime-info { };