platinum9
This commit is contained in:
parent
45076f00f9
commit
b8db8ac342
57
flake.nix
57
flake.nix
|
@ -8,42 +8,45 @@
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
theme-platinum9 = with final; stdenv.mkDerivation {
|
theme-platinum9 = with final; stdenv.mkDerivation {
|
||||||
pname = "theme-platinum9";
|
pname = "theme-platinum9";
|
||||||
|
name = "theme-platinum9";
|
||||||
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
|
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchGit {
|
||||||
domain = "git.atauno.com";
|
url = "https://git.atauno.com/atau/Platinum9.git";
|
||||||
owner = "atau";
|
rev = theme-platinum9.version;
|
||||||
repo = "Platinum9";
|
|
||||||
rev = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
|
|
||||||
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid77";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# nativeBuildInputs = [ autoreconfHook pkg-config ];
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
# propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
# Install themes
|
||||||
|
mkdir -p "$out/share/themes"
|
||||||
|
mv ClassicPlatinumStreamlined "$out/share/themes"
|
||||||
|
mv PlatiPlus "$out/share/themes"
|
||||||
|
mv PlatiPlus26 "$out/share/themes"
|
||||||
|
|
||||||
# configureFlags = [ "--disable-unity" ];
|
# Install icons
|
||||||
|
mkdir -p "$out/share/icons"
|
||||||
|
mv NineIcons/ "$out/share/icons"
|
||||||
|
|
||||||
postInstall = ''
|
# Install fonts
|
||||||
mkdir -p $out
|
mkdir -p "$out/share/fonts/truetype"
|
||||||
echo "heeeey" > $out/test.txt
|
mv Charcoal.ttf "$out/share/fonts/truetype"
|
||||||
ls -la > $out/test.txt
|
mv MONACO.TTF "$out/share/fonts/truetype"
|
||||||
cp -r * $out
|
|
||||||
# mkdir -p $out/share/plank/themes
|
# Install wallpapers
|
||||||
# cp -r extra/*-Plank $out/share/plank/themes
|
mkdir -p "$out/share/backgrounds"
|
||||||
# mkdir -p $out/share/doc/$pname/Chrome
|
mv OS9-wallpaper/ "$out/share/backgrounds"
|
||||||
# cp -r extra/Chrome/*.crx $out/share/doc/$pname/Chrome
|
|
||||||
# cp -r extra/Firefox $out/share/doc/$pname
|
runHook postInstall
|
||||||
# cp AUTHORS README.md $out/share/doc/$pname/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# meta = with lib; {
|
meta = with lib; {
|
||||||
# inherit (src.meta) homepage;
|
homepage = "https://github.com/grassmunk/Platinum9.git";
|
||||||
# description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
description = "This is a quick and dirty theme meant to approximate (but not really be too pixel accurate) the MacOS 9 (or System 7) theme.";
|
||||||
# license = licenses.gpl3;
|
platforms = platforms.unix;
|
||||||
# platforms = platforms.unix;
|
maintainers = with maintainers; [ atau ];
|
||||||
# maintainers = with maintainers; [ romildo ];
|
};
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
{ stdenv, fetchFromGitea }: #, autoreconfHook, pkg-config, gtk-engine-murrine }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "theme-platinum9";
|
|
||||||
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
|
|
||||||
|
|
||||||
src = fetchFromGitea {
|
|
||||||
domain = "git.atauno.com";
|
|
||||||
owner = "atau";
|
|
||||||
repo = "Platinum9";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid98";
|
|
||||||
};
|
|
||||||
|
|
||||||
# nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
||||||
|
|
||||||
# propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
||||||
|
|
||||||
# configureFlags = [ "--disable-unity" ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
ls -la
|
|
||||||
# mkdir -p $out/share/plank/themes
|
|
||||||
# cp -r extra/*-Plank $out/share/plank/themes
|
|
||||||
# mkdir -p $out/share/doc/$pname/Chrome
|
|
||||||
# cp -r extra/Chrome/*.crx $out/share/doc/$pname/Chrome
|
|
||||||
# cp -r extra/Firefox $out/share/doc/$pname
|
|
||||||
# cp AUTHORS README.md $out/share/doc/$pname/
|
|
||||||
'';
|
|
||||||
|
|
||||||
# meta = with lib; {
|
|
||||||
# inherit (src.meta) homepage;
|
|
||||||
# description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
|
||||||
# license = licenses.gpl3;
|
|
||||||
# platforms = platforms.unix;
|
|
||||||
# maintainers = with maintainers; [ romildo ];
|
|
||||||
# };
|
|
||||||
}
|
|
Loading…
Reference in New Issue