159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
44 lines
960 B
Nix
44 lines
960 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qttools
|
|
, cpp-utilities
|
|
, qtbase
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "qtutilities";
|
|
version = "6.14.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Martchus";
|
|
repo = "qtutilities";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-WgZZEs3Fse+0+FLVO1GTkxqxzZPfJuxS7Ij/G0ACZSY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qttools
|
|
];
|
|
buildInputs = [
|
|
qtbase
|
|
cpp-utilities
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DQT_PACKAGE_PREFIX=Qt${lib.versions.major qtbase.version}"
|
|
"-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;
|
|
};
|
|
})
|