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

34 lines
834 B
Nix
Raw Normal View History

{ stdenv, fetchgit, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
2016-10-02 15:59:01 +02:00
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
2016-10-02 15:59:01 +02:00
];
buildInputs = [
qtbase qtsvg qtwebkit
2016-10-02 15:59:01 +02:00
];
preConfigure = ''
export LRELEASE="lrelease"
'';
meta = {
homepage = http://notepadqq.altervista.org/;
2016-10-02 15:59:01 +02: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 ];
};
}