aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix')
-rw-r--r--nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix27
1 files changed, 19 insertions, 8 deletions
diff --git a/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix b/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
index 2c4d040a432..ae772272c4b 100644
--- a/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
+++ b/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
@@ -1,15 +1,26 @@
-{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }:
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, cmake
+, pkgconfig
+, lxqt-build-tools
+, json-glib
+, libfm-qt
+, qtbase
+, qttools
+, qtx11extras
+, lxqtUpdateScript
+}:
mkDerivation rec {
- # pname = "lxqt-archiver";
- pname = "lxqt-archiver-unstable";
- version = "2019-09-25";
+ pname = "lxqt-archiver";
+ version = "0.1.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-archiver";
- rev = "62501255434b2ba6a8fd043a5af13dc0df038a5b";
- sha256 = "1af58k68karmnay7xgngzlmcgkmvx6hay5m1xbl5id9hh16n20in";
+ rev = version;
+ sha256 = "0c0y8sy12laqyanvy6mmnpjvy1yb8k3241pbxhc3nyl5zrq3hzdh";
};
nativeBuildInputs = [
@@ -26,10 +37,10 @@ mkDerivation rec {
qtx11extras
];
- cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
-
hardeningDisable = [ "format" ];
+ passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
+
meta = with lib; {
description = "Archive tool for the LXQt desktop environment";
homepage = "https://github.com/lxqt/lxqt-archiver/";