1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/data/themes/sweet/default.nix

48 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2019-12-10 02:37:53 +00:00
stdenv.mkDerivation rec {
pname = "sweet";
2020-12-19 17:04:57 +00:00
version = "2.0";
2019-12-10 02:37:53 +00:00
srcs = [
(fetchurl {
2020-12-19 17:04:57 +00:00
url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Ambar-Blue.tar.xz";
sha256 = "028pk07im7pab8a2vh3bvjm8jg37dpvn4c1mwn6vhb6wcr9v5c75";
2019-12-10 02:37:53 +00:00
})
(fetchurl {
2020-12-19 17:04:57 +00:00
url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Ambar.tar.xz";
sha256 = "0zmdmqndj65kr43g3z57blrmv0y856zlfprm6y45zbf4xz3ybkg6";
2019-12-10 02:37:53 +00:00
})
(fetchurl {
2020-12-19 17:04:57 +00:00
url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-Dark.tar.xz";
sha256 = "02sw664fkrfpsygspq8fn4zgk8rxs9rd29nnx6nyvkji68mb51s6";
2019-12-10 02:37:53 +00:00
})
(fetchurl {
2020-12-19 17:04:57 +00:00
url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet-mars.tar.xz";
sha256 = "14rl3il61jyqwiqlpgbh397q3rcs7jcf2pvr2763ar5a9czmy8h6";
2019-12-10 02:37:53 +00:00
})
(fetchurl {
2020-12-19 17:04:57 +00:00
url = "https://github.com/EliverLara/Sweet/releases/download/${version}/Sweet.tar.xz";
sha256 = "0rza3yxwj256ibqimymjhd6lpjzr7fkhggq0ijdg1wab3q91x66q";
2019-12-10 02:37:53 +00:00
})
];
sourceRoot = ".";
installPhase = ''
2020-12-19 17:04:57 +00:00
runHook preInstall
2019-12-10 02:37:53 +00:00
mkdir -p $out/share/themes/
cp -a Sweet* $out/share/themes/
rm $out/share/themes/*/{LICENSE,README*}
2020-12-19 17:04:57 +00:00
runHook postInstall
2019-12-10 02:37:53 +00:00
'';
meta = with lib; {
2019-12-10 02:37:53 +00:00
description = "Light and dark colorful Gtk3.20+ theme";
homepage = "https://github.com/EliverLara/Sweet";
2020-12-19 17:04:57 +00:00
license = licenses.gpl3Only;
2019-12-10 02:37:53 +00:00
maintainers = with maintainers; [ fuzen ];
platforms = platforms.linux;
};
}