nixpkgs/pkgs/desktops/lxqt/qlipper/default.nix
2024-04-19 14:39:00 -03:00

42 lines
748 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, qttools
, wrapQtAppsHook
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "qlipper";
version = "5.1.2";
src = fetchFromGitHub {
owner = "pvanek";
repo = pname;
rev = version;
hash = "sha256-wHhaRtNiNCk5dtO2dVjRFDVicmYtrnCb2twx6h1m834=";
};
nativeBuildInputs = [
cmake
qttools
wrapQtAppsHook
];
buildInputs = [
qtbase
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
description = "Cross-platform clipboard history applet";
mainProgram = "qlipper";
homepage = "https://github.com/pvanek/qlipper";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;
};
}