diff options
author | Adrian Kummerlaender | 2018-09-23 20:14:29 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-09-23 20:14:47 +0200 |
commit | 43bc484b4e3dc47512872e62779d7fe98fac93a1 (patch) | |
tree | 2a05d9e872a8e0508e0b27b3fd62aefac5fa3a1a /pkgs/oomox-archdroid-icon-theme/default.nix | |
download | pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar.gz pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar.bz2 pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar.lz pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar.xz pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.tar.zst pkgs-43bc484b4e3dc47512872e62779d7fe98fac93a1.zip |
Initial import of my custom Nix derivations
Diffstat (limited to 'pkgs/oomox-archdroid-icon-theme/default.nix')
-rw-r--r-- | pkgs/oomox-archdroid-icon-theme/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/oomox-archdroid-icon-theme/default.nix b/pkgs/oomox-archdroid-icon-theme/default.nix new file mode 100644 index 0000000..764bf2f --- /dev/null +++ b/pkgs/oomox-archdroid-icon-theme/default.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; + }; +} |