This commit is contained in:
alex 2023-06-18 18:09:09 -04:00
parent 16665e63dc
commit 45076f00f9
1 changed files with 47 additions and 1 deletions

View File

@ -4,6 +4,52 @@
};
outputs = { self, nixpkgs }: {
packages.x86_64-linux.theme-platinum9 = import ./platinum9/default.nix;
overlay = final: prev: {
theme-platinum9 = with final; stdenv.mkDerivation {
pname = "theme-platinum9";
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
src = fetchFromGitea {
domain = "git.atauno.com";
owner = "atau";
repo = "Platinum9";
rev = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
sha256 = "0c9mhrs95ahz37djrv176vn41ywvj26ilwmnr1h9171giv6hid77";
};
# nativeBuildInputs = [ autoreconfHook pkg-config ];
# propagatedUserEnvPkgs = [ gtk-engine-murrine ];
# configureFlags = [ "--disable-unity" ];
postInstall = ''
mkdir -p $out
echo "heeeey" > $out/test.txt
ls -la > $out/test.txt
cp -r * $out
# 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 ];
# };
};
};
packages.x86_64-linux.theme-platinum9 = (import nixpkgs {
system = "x86_64-linux";
overlays = [ self.overlay ];
}).theme-platinum9;
};
}