mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2026-09-10 01:43:07 -07:00
40 lines
525 B
Nix
40 lines
525 B
Nix
{ lib
|
|
, stdenv
|
|
, bash
|
|
, coreutils
|
|
, sassc
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "colloid-gtk-theme";
|
|
version = "nix";
|
|
|
|
src = ../.;
|
|
|
|
nativeBuildInputs = [
|
|
bash
|
|
coreutils
|
|
sassc
|
|
];
|
|
|
|
patchPhase = ''
|
|
patchShebangs install.sh
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
HOME="$TMPDIR" ./install.sh \
|
|
--dest $out/share/themes
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Colloid GTK Theme";
|
|
license = lib.licenses.gpl3;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|