depot/third_party/nixpkgs/pkgs/development/libraries/qtutilities/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

35 lines
838 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, cpp-utilities
, qttools
, qtbase
, cmake
}:
stdenv.mkDerivation rec {
pname = "qtutilities";
version = "6.13.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = pname;
rev = "v${version}";
hash = "sha256-gfGVVjtzpBGrPrp2k3fOIh54EAMSicyikF1CtaO74y8=";
};
buildInputs = [ qtbase cpp-utilities ];
nativeBuildInputs = [ cmake qttools ];
cmakeFlags = ["-DBUILD_SHARED_LIBS=ON"];
dontWrapQtApps = true;
meta = with lib; {
homepage = "https://github.com/Martchus/qtutilities";
description = "Common Qt related C++ classes and routines used by @Martchus' applications such as dialogs, widgets and models Topics";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux ++ platforms.darwin;
};
}