ark/pkgs-set/overlays/phantom.nix

25 lines
618 B
Nix
Raw Normal View History

2021-03-26 21:03:40 +03:00
final: prev: {
2022-02-18 20:31:01 +03:00
phantomstyle =
prev.stdenv.mkDerivation
{
pname = "phantomstyle";
version = "6e9580b";
src =
builtins.fetchGit
{
url = "https://github.com/randrew/phantomstyle.git";
rev = "6e9580b72e372b5acecd616434eaf441bf73bcf4";
};
dontWrapQtApps = true;
buildInputs = [prev.libsForQt5.qt5.qtbase];
2022-03-09 23:55:02 +03:00
buildPhase = ''
cd src/styleplugin
qmake && make
'';
installPhase = ''
mkdir -p $out/$qtPluginPrefix/styles
mv libphantomstyleplugin.so $out/$qtPluginPrefix/styles
'';
2021-03-26 21:03:40 +03:00
};
}