summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Romildo <malaquias@gmail.com>2021-05-23 11:38:12 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-05-30 03:14:38 +0000
commit32e3012c0c6d7b270aac13b53affaba65b015ca5 (patch)
tree005b7faae5b66970e285c8408bee6a4579b4dfec
parentMerge pull request #124932 from NixOS/backport-124920-to-release-21.05 (diff)
downloadnixpkgs-origin/backport-124161-to-release-21.05.tar.gz
numix-solarized-gtk-theme: 20200910 -> 20210522origin/backport-124161-to-release-21.05
(cherry picked from commit 9b743d9bbb9483f044b6947c456d26e3e1e4baad)
-rw-r--r--pkgs/data/themes/numix-solarized/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/data/themes/numix-solarized/default.nix b/pkgs/data/themes/numix-solarized/default.nix
index 0d965e8030a6..532275e5f749 100644
--- a/pkgs/data/themes/numix-solarized/default.nix
+++ b/pkgs/data/themes/numix-solarized/default.nix
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, python3, sassc, glib, gdk-pixbuf, inkscape, gtk-engine-murrine }:
stdenv.mkDerivation rec {
- version = "20200910";
pname = "numix-solarized-gtk-theme";
+ version = "20210522";
src = fetchFromGitHub {
owner = "Ferdi265";
- repo = "numix-solarized-gtk-theme";
+ repo = pname;
rev = version;
- sha256 = "05h1563sy6sfz76jadxsf730mav6bbjsk9xnadv49r16b8n8p9a9";
+ sha256 = "0hin73fmfir4w1z0j87k5hahhf2blhcq4r7gf89gz4slnl18cvjh";
};
nativeBuildInputs = [ python3 sassc glib gdk-pixbuf inkscape ];
@@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
buildPhase = "true";
installPhase = ''
- HOME="$NIX_BUILD_ROOT" # shut up inkscape's warnings
+ runHook preInstall
for theme in *.colors; do
make THEME="''${theme/.colors/}" install
done
+ runHook postInstall
'';
meta = with lib; {
@@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
'';
homepage = "https://github.com/Ferdi265/numix-solarized-gtk-theme";
downloadPage = "https://github.com/Ferdi265/numix-solarized-gtk-theme/releases";
- license = licenses.gpl3;
+ license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = [ maintainers.offline ];
};