3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/notepadqq/default.nix

42 lines
854 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
2016-10-02 14:59:01 +01:00
mkDerivation rec {
pname = "notepadqq";
version = "1.4.8";
src = fetchFromGitHub {
owner = "notepadqq";
repo = "notepadqq";
rev = "v${version}";
sha256 = "0lbv4s7ng31dkznzbkmp2cvkqglmfj6lv4mbg3r410fif2nrva7k";
2016-10-02 14:59:01 +01:00
};
nativeBuildInputs = [
pkgconfig which qttools
2016-10-02 14:59:01 +01:00
];
buildInputs = [
qtbase qtsvg qtwebkit
2016-10-02 14:59:01 +01:00
];
preConfigure = ''
export LRELEASE="lrelease"
'';
dontWrapQtApps = true;
preFixup = ''
wrapQtApp $out/bin/notepadqq
'';
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://notepadqq.com/";
2016-10-02 14:59:01 +01:00
description = "Notepad++-like editor for the Linux desktop";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.rszibele ];
2016-10-02 14:59:01 +01:00
};
}