2021-01-23 11:47:37 +03:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cpp-utilities
|
|
|
|
, qttools
|
|
|
|
, qtbase
|
|
|
|
, cmake
|
|
|
|
}:
|
2019-07-10 16:06:14 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qtutilities";
|
2021-03-09 12:32:36 +03:00
|
|
|
version = "6.3.3";
|
2019-07-10 16:06:14 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Martchus";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-09 12:32:36 +03:00
|
|
|
sha256 = "sha256-RoI1huVei4SmAUhuYruzgod0/qIlnrZSHEMceQc2jzc=";
|
2019-07-10 16:06:14 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase cpp-utilities ];
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
|
2021-01-12 14:50:23 +03:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-21 20:00:13 +03:00
|
|
|
meta = with lib; {
|
2019-07-10 16:06:14 +03:00
|
|
|
homepage = "https://github.com/Martchus/qtutilities";
|
|
|
|
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
|
2021-03-09 12:32:36 +03:00
|
|
|
license = licenses.gpl2Plus;
|
2019-07-10 16:06:14 +03:00
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|