depot/pkgs/desktops/lxqt/qlipper/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00: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;
};
}