1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

Merge pull request #66324 from xaverdh/notepadqq-qt-fix

notepadqq: use qt5's mkDerivation
This commit is contained in:
worldofpeace 2019-08-13 12:40:44 -04:00 committed by GitHub
commit d914581523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,8 @@
{ stdenv, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit}:
{ mkDerivation, lib, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
let
mkDerivation rec {
pname = "notepadqq";
version = "1.4.8";
in stdenv.mkDerivation {
name = "notepadqq-${version}";
src = fetchFromGitHub {
owner = "notepadqq";
repo = "notepadqq";
@ -24,13 +23,19 @@ in stdenv.mkDerivation {
export LRELEASE="lrelease"
'';
dontWrapQtApps = true;
preFixup = ''
wrapQtApp $out/bin/notepadqq
'';
enableParallelBuilding = true;
meta = {
meta = with lib; {
homepage = https://notepadqq.com/;
description = "Notepad++-like editor for the Linux desktop";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ rszibele ];
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.rszibele ];
};
}