depot/third_party/nixpkgs/pkgs/development/libraries/qtutilities/default.nix

34 lines
776 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, cpp-utilities
, qttools
, qtbase
, cmake
}:
stdenv.mkDerivation rec {
pname = "qtutilities";
version = "6.5.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+W5EdnB0QbI22iDWRyj+ntp/l/Kc6VHca2LwmHA7pgA=";
};
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;
};
}