aboutsummaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-04-24 19:55:23 +0200
committerAdrian Kummerlaender2018-04-24 19:55:23 +0200
commitf5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776 (patch)
tree65e86d1d1ac44aca241ed716655cf8224d2d3dde /pkgs
parentc88716541afe1b9eed807c8073f21b4dae31dac2 (diff)
downloadnixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.gz
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.bz2
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.lz
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.xz
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.zst
nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.zip
Add oomox-archdroid-icon-theme derivation
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/oomox-archdroid-icon-theme.nix29
-rw-r--r--pkgs/oomox-gtk-theme.nix2
2 files changed, 30 insertions, 1 deletions
diff --git a/pkgs/oomox-archdroid-icon-theme.nix b/pkgs/oomox-archdroid-icon-theme.nix
new file mode 100644
index 0000000..764bf2f
--- /dev/null
+++ b/pkgs/oomox-archdroid-icon-theme.nix
@@ -0,0 +1,29 @@
+{ stdenv, pkgs, color, ... }:
+
+stdenv.mkDerivation rec {
+ name = "oomox-archdroid-icon-theme";
+
+ src = pkgs.fetchFromGitHub {
+ repo = "archdroid-icon-theme";
+ owner = "themix-project";
+ rev = "6dc4c92689ea2ce99534d6f461283efdf8ffd270";
+ sha256 = "073iwaamzrmj0l6h4gzmbnmazq16lgpc027mr3l778b35qwwraq5";
+ };
+
+ postPatch = ''
+ patchShebangs .
+ '';
+
+ installPhase = ''
+ HOME="$out/share/icons"
+ sed -i "66s/\.icons\///" change_color.sh
+ ./change_color.sh --output oomox-archdroid --color ${color}
+ '';
+
+ meta = {
+ description = "oomox-archdroid-icon-theme is a customizable fork of archdroid-icon-theme";
+ homepage = https://github.com/themix-project/archdroid-icon-theme;
+ license = stdenv.lib.licenses.gpl3;
+ platforms = stdenv.lib.platforms.all;
+ };
+}
diff --git a/pkgs/oomox-gtk-theme.nix b/pkgs/oomox-gtk-theme.nix
index 237c11a..aa393a9 100644
--- a/pkgs/oomox-gtk-theme.nix
+++ b/pkgs/oomox-gtk-theme.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
'';
meta = {
- description = "oomox-gtk-theme is a customizable fork of Numix-gtk-theme.";
+ description = "oomox-gtk-theme is a customizable fork of numix-gtk-theme.";
homepage = https://github.com/themix-project/oomox-gtk-theme;
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;