nixpkgs/pkgs/desktops/lxqt/qlipper/default.nix

40 lines
735 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, qtbase
, qttools
, lxqtUpdateScript
}:
2016-10-15 11:46:12 +01:00
mkDerivation rec {
2016-10-15 11:46:12 +01:00
pname = "qlipper";
2020-04-26 21:25:25 +01:00
version = "5.1.2";
2016-10-15 11:46:12 +01:00
src = fetchFromGitHub {
2016-10-15 11:46:12 +01:00
owner = "pvanek";
repo = pname;
2017-02-19 14:52:26 +00:00
rev = version;
2020-04-26 21:25:25 +01:00
sha256 = "0zpkcqfylcfwvadp1bidcrr64d8ls5c7bdnkfqwjjd32sd35ly60";
2016-10-15 11:46:12 +01:00
};
nativeBuildInputs = [
cmake
];
2016-10-15 11:46:12 +01:00
buildInputs = [
qtbase
qttools
];
2016-10-15 11:46:12 +01:00
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
2016-10-15 11:46:12 +01:00
description = "Cross-platform clipboard history applet";
homepage = "https://github.com/pvanek/qlipper";
2016-10-15 11:46:12 +01:00
license = licenses.gpl2Plus;
platforms = with platforms; unix;
2017-02-19 14:52:26 +00:00
maintainers = with maintainers; [ romildo ];
2016-10-15 11:46:12 +01:00
};
}