change
This commit is contained in:
parent
16665e63dc
commit
45076f00f9
48
flake.nix
48
flake.nix
|
@ -4,6 +4,52 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: {
|
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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue