From 280f602bbf18bd6b728c7d4a8f4586485ce70c44 Mon Sep 17 00:00:00 2001 From: Fuzen Date: Mon, 9 Dec 2019 21:35:33 -0500 Subject: [PATCH 1/2] maintainers: add fuzen --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ad2b74dfe81e..482d8716b654 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2490,6 +2490,12 @@ githubId = 40521440; name = "Haruka Akiyama"; }; + fuzen = { + email = "me@fuzen.cafe"; + github = "fuzen-py"; + githubId = 17859309; + name = "Fuzen"; + }; fuzzy-id = { email = "hacking+nixos@babibo.de"; name = "Thomas Bach"; From 4c8ffa4e8f2565b6dc35ad066ac678a25cf5628a Mon Sep 17 00:00:00 2001 From: Fuzen Date: Mon, 9 Dec 2019 21:37:53 -0500 Subject: [PATCH 2/2] sweet: init at 1.10.5 --- pkgs/data/themes/sweet/default.nix | 47 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 49 insertions(+) create mode 100644 pkgs/data/themes/sweet/default.nix diff --git a/pkgs/data/themes/sweet/default.nix b/pkgs/data/themes/sweet/default.nix new file mode 100644 index 000000000000..9d3603cbf520 --- /dev/null +++ b/pkgs/data/themes/sweet/default.nix @@ -0,0 +1,47 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + pname = "sweet"; + version = "1.10.5"; + + srcs = [ + (fetchurl { + url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar-Blue.zip"; + sha256 = "11040hx8ci4vbnyaj63zj924v0ln7rjm9a28mcqdax60h3dp12lj"; + }) + (fetchurl { + url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Ambar.zip"; + sha256 = "0lvnjmirpwdav8q0bfbhybwkr2h6dilc7lhhj18xd2k57xadjmxr"; + }) + (fetchurl { + url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-Dark.zip"; + sha256 = "0a7mh1pgvi8w1ahsmvgnmpdawm30lcjqk4zqvg0lqadsd04dn4h1"; + }) + (fetchurl { + url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet-mars.zip"; + sha256 = "0n2dkl35qrik10wvhvkayyra987p03g56pxhz5kc73cbsl5zd96l"; + }) + (fetchurl { + url = "https://github.com/EliverLara/Sweet/releases/download/v${version}/Sweet.zip"; + sha256 = "0wwmc3wj2pjg4kimfkvcsimk3s4s7l7k000vxqi8yjlfs70f273c"; + }) + ]; + + nativeBuildInputs = [ unzip ]; + + sourceRoot = "."; + + installPhase = '' + mkdir -p $out/share/themes/ + cp -a Sweet* $out/share/themes/ + rm $out/share/themes/*/{LICENSE,README*} + ''; + + meta = with stdenv.lib; { + description = "Light and dark colorful Gtk3.20+ theme"; + homepage = "https://github.com/EliverLara/Sweet"; + license = licenses.gpl3; + maintainers = with maintainers; [ fuzen ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f37719176301..2eb2d7991a02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17557,6 +17557,8 @@ in shades-of-gray-theme = callPackage ../data/themes/shades-of-gray { }; + sweet = callPackage ../data/themes/sweet { }; + mime-types = callPackage ../data/misc/mime-types { }; shared-mime-info = callPackage ../data/misc/shared-mime-info { };