mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
34 lines
795 B
Nix
34 lines
795 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, qt6
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "KDSingleApplication";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KDAB";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Ymm+qOZMWULg7u5xEpGzcAfIrbWBQ3jsndnFSnh6/PA=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ qt6.qtbase ];
|
|
|
|
cmakeFlags = [ "-DKDSingleApplication_QT6=true" ];
|
|
dontWrapQtApps = true;
|
|
|
|
meta = with lib; {
|
|
description = "KDAB's helper class for single-instance policy applications";
|
|
homepage = "https://www.kdab.com/";
|
|
maintainers = with maintainers; [ hellwolf ];
|
|
platforms = platforms.unix;
|
|
license = licenses.mit;
|
|
changelog = "https://github.com/KDAB/KDSingleApplication/releases/tag/v${version}";
|
|
};
|
|
}
|