mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 20:47:48 +00:00
gtk-theme-framework: init at 0.2.3
This commit is contained in:
parent
d394cd0d2a
commit
2dc8d06723
36
pkgs/data/themes/gtk-theme-framework/default.nix
Normal file
36
pkgs/data/themes/gtk-theme-framework/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchFromGitHub, theme, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtk-theme-framework";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jaxwilko";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1z5s5rsgiypanf2z0avaisbflnvwrc8aiy5qskrsvbbaja63jy3s";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace main.sh \
|
||||
--replace "#!/usr/bin/env bash" "#!/bin/sh"
|
||||
|
||||
substituteInPlace scripts/install.sh \
|
||||
--replace "#!/usr/bin/env bash" "#!/bin/sh"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/themes
|
||||
./main.sh -i -t ${theme} -d $out/share/themes
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jaxwilko/gtk-theme-framework";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ flexagoon ];
|
||||
};
|
||||
}
|
@ -22729,6 +22729,16 @@ with pkgs;
|
||||
|
||||
gruvbox-dark-gtk = callPackage ../data/themes/gruvbox-dark-gtk { };
|
||||
|
||||
palenight-theme = callPackage ../data/themes/gtk-theme-framework { theme = "palenight"; };
|
||||
|
||||
amarena-theme = callPackage ../data/themes/gtk-theme-framework { theme = "amarena"; };
|
||||
|
||||
gruvterial-theme = callPackage ../data/themes/gtk-theme-framework { theme = "gruvterial"; };
|
||||
|
||||
oceanic-theme = callPackage ../data/themes/gtk-theme-framework { theme = "oceanic"; };
|
||||
|
||||
spacx-gtk-theme = callPackage ../data/themes/gtk-theme-framework { theme = "spacx"; };
|
||||
|
||||
gruvbox-dark-icons-gtk = callPackage ../data/icons/gruvbox-dark-icons-gtk {
|
||||
inherit (plasma5Packages) breeze-icons;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user