nixpkgs/pkgs/applications/editors/notepadqq/default.nix

37 lines
834 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit}:
2016-10-02 14:59:01 +01:00
let
version = "1.4.8";
2016-10-02 14:59:01 +01:00
in stdenv.mkDerivation {
name = "notepadqq-${version}";
src = fetchFromGitHub {
owner = "notepadqq";
repo = "notepadqq";
rev = "v${version}";
sha256 = "0lbv4s7ng31dkznzbkmp2cvkqglmfj6lv4mbg3r410fif2nrva7k";
2016-10-02 14:59:01 +01:00
fetchSubmodules = true;
};
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"
'';
enableParallelBuilding = true;
2016-10-02 14:59:01 +01:00
meta = {
homepage = https://notepadqq.com/;
2016-10-02 14:59:01 +01:00
description = "Notepad++-like editor for the Linux desktop";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ rszibele ];
};
}