35 lines
785 B
Nix
35 lines
785 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cpp-utilities
|
|
, qttools
|
|
, qtbase
|
|
, cmake
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtutilities";
|
|
version = "6.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Martchus";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-vHx2JMPqioY8jUpBOIFdhhN1mIUV3LS8ayQOo3g7bY0=";
|
|
};
|
|
|
|
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.gpl2;
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|