mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
39 lines
897 B
Nix
39 lines
897 B
Nix
{ stdenv, fetchFromGitHub, cmake, ninja, qtbase }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "adwaita-qt";
|
|
version = "1.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FedoraQt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0xn8bianmdj15k11mnw52by9vxkmvpqr2s304kl3dbjj1l7v4cd7";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
postPatch = ''
|
|
# Fix plugin dir
|
|
substituteInPlace style/CMakeLists.txt \
|
|
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}/styles" "DESTINATION \"$qtPluginPrefix/styles"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A style to bend Qt applications to look like they belong into GNOME Shell";
|
|
homepage = https://github.com/FedoraQt/adwaita-qt;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|