summary refs log tree commit diff
path: root/pkgs/data/icons
diff options
context:
space:
mode:
authorGabriel Volpe <volpegabriel@gmail.com>2021-02-26 07:07:40 +0100
committerGabriel Volpe <volpegabriel@gmail.com>2021-03-09 09:23:03 +0100
commit4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c (patch)
treebae4402ce5cca0223fe8bdae4325364aa87fbd22 /pkgs/data/icons
parentc98cf3c34bb5615b6be4c5fb32d18d80c69de41e (diff)
downloadnixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar.gz
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar.bz2
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar.lz
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar.xz
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.tar.zst
nixpkgs-4f7156d54f9c48cbf934548097f7ff2cf2a2ea4c.zip
beauty-line-icon-theme: init at 0.0.1
Diffstat (limited to 'pkgs/data/icons')
-rw-r--r--pkgs/data/icons/beauty-line-icon-theme/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/data/icons/beauty-line-icon-theme/default.nix b/pkgs/data/icons/beauty-line-icon-theme/default.nix
new file mode 100644
index 00000000000..2942315f7da
--- /dev/null
+++ b/pkgs/data/icons/beauty-line-icon-theme/default.nix
@@ -0,0 +1,39 @@
+{ lib, stdenv, fetchzip, breeze-icons, gtk3, gnome-icon-theme, hicolor-icon-theme, mint-x-icons, pantheon }:
+
+stdenv.mkDerivation rec {
+  pname = "BeautyLine";
+  version = "0.0.1";
+
+  src = fetchzip {
+    name = "${pname}-${version}";
+    url = "https://github.com/gvolpe/BeautyLine/releases/download/${version}/BeautyLine.tar.gz";
+    sha256 = "030bjk333fr9wm1nc740q8i31rfsgf3vg6cvz36xnvavx3q363l7";
+  };
+
+  nativeBuildInputs = [ gtk3 ];
+
+  # ubuntu-mono is also required but missing in ubuntu-themes (please add it if it is packaged at some point)
+  propagatedBuildInputs = [
+    breeze-icons
+    gnome-icon-theme
+    hicolor-icon-theme
+    mint-x-icons
+    pantheon.elementary-icon-theme
+  ];
+
+  dontDropIconThemeCache = true;
+
+  installPhase = ''
+    mkdir -p $out/share/icons/${pname}
+    cp -r * $out/share/icons/${pname}/
+    gtk-update-icon-cache $out/share/icons/${pname}
+  '';
+
+  meta = with lib; {
+    description = "BeautyLine icon theme";
+    homepage = "https://www.gnome-look.org/p/1425426/";
+    platforms = platforms.linux;
+    license = [ licenses.publicDomain ];
+    maintainers = with maintainers; [ gvolpe ];
+  };
+}