2021-01-23 08:47:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cpp-utilities
|
|
|
|
, qttools
|
|
|
|
, qtbase
|
|
|
|
, cmake
|
|
|
|
}:
|
2019-07-10 14:06:14 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qtutilities";
|
2021-03-09 09:32:36 +00:00
|
|
|
version = "6.3.3";
|
2019-07-10 14:06:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Martchus";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-09 09:32:36 +00:00
|
|
|
sha256 = "sha256-RoI1huVei4SmAUhuYruzgod0/qIlnrZSHEMceQc2jzc=";
|
2019-07-10 14:06:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qtbase cpp-utilities ];
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-07-10 14:06:14 +01: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 09:32:36 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-07-10 14:06:14 +01:00
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|