33 lines
776 B
Nix
33 lines
776 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cpp-utilities
|
|
, qttools
|
|
, qtbase
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtutilities";
|
|
version = "6.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Martchus";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RoI1huVei4SmAUhuYruzgod0/qIlnrZSHEMceQc2jzc=";
|
|
};
|
|
|
|
buildInputs = [ qtbase cpp-utilities ];
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Martchus/qtutilities";
|
|
description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|