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