about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/lxqt/lxqt-archiver/default.nix
blob: 205ea2fd2016f0d456464bfd1d29c416fa458e56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }:

mkDerivation rec {
  # pname = "lxqt-archiver";
  pname = "lxqt-archiver-unstable";
  version = "2019-09-25";

  src = fetchFromGitHub {
    owner = "lxqt";
    repo = "lxqt-archiver";
    rev = "62501255434b2ba6a8fd043a5af13dc0df038a5b";
    sha256 = "1af58k68karmnay7xgngzlmcgkmvx6hay5m1xbl5id9hh16n20in";
  };

  nativeBuildInputs = [
    cmake
    pkgconfig
    lxqt-build-tools
  ];

  buildInputs = [
    json-glib
    libfm-qt
    qtbase
    qttools
    qtx11extras
  ];

  cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];

  hardeningDisable = [ "format" ];

  meta = with lib; {
    description = "Archive tool for the LXQt desktop environment";
    homepage = https://github.com/lxqt/lxqt-archiver/;
    license = licenses.gpl2;
    platforms = with platforms; unix;
    maintainers = with maintainers; [ jchw ];
  };
}