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

34 lines
774 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, cpp-utilities
, qttools
, qtbase
, cmake
}:
stdenv.mkDerivation rec {
pname = "qtutilities";
version = "6.12.0";
src = fetchFromGitHub {
owner = "Martchus";
repo = pname;
rev = "v${version}";
hash = "sha256-zkuVD6TH3eHFMu31PmKF2qlQ3itwWHMzVp0ZjdspWTk=";
};
buildInputs = [ qtbase cpp-utilities ];
nativeBuildInputs = [ cmake qttools ];
dontWrapQtApps = true;
meta = with lib; {
homepage = "https://github.com/Martchus/qtutilities";
description = "Common Qt related C++ classes and routines used by @Martchus' applications such as dialogs, widgets and models Topics";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ doronbehar ];
platforms = platforms.linux;
};
}