summary refs log tree commit diff
path: root/pkgs/applications/editors/notepadqq/default.nix
blob: b553e09ed5e2c8256e2c6151652a6970c9f4b874 (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
{ stdenv, fetchgit, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:

let
  version = "0.53.0";
in stdenv.mkDerivation {
  name = "notepadqq-${version}";
  src = fetchgit {
    url = "https://github.com/notepadqq/notepadqq.git";
    rev = "3b0751277fb268ec72b466b37d0f0977c536bc1b";
    sha256 = "0hw94mn2xg2r58afvz1xg990jinv9aa33942zgwq54qwj61r93hi";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [
    pkgconfig which qttools
  ];

  buildInputs = [
    qtbase qtsvg qtwebkit
  ];

  preConfigure = ''
    export LRELEASE="lrelease"
  '';

  meta = {
    homepage = "http://notepadqq.altervista.org/";
    description = "Notepad++-like editor for the Linux desktop";
    license = stdenv.lib.licenses.gpl3;
    platforms = stdenv.lib.platforms.linux;
    maintainers = with stdenv.lib.maintainers; [ rszibele ];
  };
}