depot/third_party/nixpkgs/pkgs/development/libraries/qtutilities/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

43 lines
895 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, cmake
, qttools
, cpp-utilities
, qtbase
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qtutilities";
version = "6.13.1";
src = fetchFromGitHub {
owner = "Martchus";
repo = "qtutilities";
rev = "v${finalAttrs.version}";
hash = "sha256-ic1Xnle1fGZ5elf0yH0BF+3spAmIo9kP62WhXLmBVNc=";
};
nativeBuildInputs = [
cmake
qttools
];
buildInputs = [
qtbase
cpp-utilities
];
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;
};
})