Merge pull request #66986 from dtzWill/fix/vnote-qt-mkderiv

vnote: fix by using qt's mkDerivation, 2.6 -> 2.7.2
This commit is contained in:
worldofpeace 2019-08-20 00:23:06 -04:00 committed by GitHub
commit 912b09e17e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, qtwebengine, hicolor-icon-theme, makeDesktopItem }:
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtwebengine, hicolor-icon-theme }:
let
description = "A note-taking application that knows programmers and Markdown better";
in stdenv.mkDerivation rec {
version = "2.6";
in mkDerivation rec {
version = "2.7.2";
pname = "vnote";
src = fetchFromGitHub {
@ -11,13 +11,13 @@ in stdenv.mkDerivation rec {
repo = "vnote";
fetchSubmodules = true;
rev = "v${version}";
sha256 = "10lnzzwz7fjj55kbn3j6gdl9yi6a85mdjis586p3zcc4830mlv91";
sha256 = "0mk1ingcyznpwq4bfkxa8nx9yx5y3kgsmr4qffriq7bh1cx9dwjy";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtwebengine hicolor-icon-theme ];
meta = with stdenv.lib; {
meta = with lib; {
inherit description;
homepage = "https://tamlok.github.io/vnote";
license = licenses.mit;