summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAverell Dalton <averell+nixpkgs@rxd4.com>2019-10-30 23:18:41 +0100
committerJon <jonringer@users.noreply.github.com>2019-11-01 19:47:45 -0700
commitac32e855fa26c2f4b945e00fccf124644a5b5bb5 (patch)
tree9303526e9717ff644a2e821c07230d954637092f /pkgs
parent3c7e691c9edf551774188ef49ff4445dbab13442 (diff)
downloadnixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar.gz
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar.bz2
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar.lz
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar.xz
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.tar.zst
nixpkgs-ac32e855fa26c2f4b945e00fccf124644a5b5bb5.zip
yacreader: 9.5.0 -> 9.6.2
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/graphics/yacreader/default.nix21
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix
index e545dd5a723..9162e0bdef1 100644
--- a/pkgs/applications/graphics/yacreader/default.nix
+++ b/pkgs/applications/graphics/yacreader/default.nix
@@ -1,14 +1,17 @@
-{ stdenv, fetchurl, qmake, poppler, pkgconfig, libunarr, libGLU
-, qtdeclarative, qtgraphicaleffects, qtmultimedia, qtquickcontrols, qtscript
+{ mkDerivation, lib, fetchFromGitHub, qmake, poppler, pkgconfig, libunarr
+, libGLU, qtdeclarative, qtgraphicaleffects, qtmultimedia, qtquickcontrols
+, qtscript
 }:
 
-stdenv.mkDerivation rec {
+mkDerivation rec {
   pname = "yacreader";
-  version = "9.5.0";
+  version = "9.6.2";
 
-  src = fetchurl {
-    url = "https://github.com/YACReader/yacreader/releases/download/${version}/${pname}-${version}-src.tar.xz";
-    sha256 = "0cv5y76kjvsqsv4fp99j8np5pm4m76868i1nn40q6hy573dmxwm6";
+  src = fetchFromGitHub {
+    owner = "YACReader";
+    repo = pname;
+    rev = version;
+    sha256 = "1s7kb72skhr364kq8wr2i012jjmaz2vzcz526h0b2bch8921wrnf";
   };
 
   nativeBuildInputs = [ qmake pkgconfig ];
@@ -19,7 +22,7 @@ stdenv.mkDerivation rec {
 
   meta = {
     description = "A comic reader for cross-platform reading and managing your digital comic collection";
-    homepage = http://www.yacreader.com;
-    license = stdenv.lib.licenses.gpl3;
+    homepage = "http://www.yacreader.com";
+    license = lib.licenses.gpl3;
   };
 }