Merge pull request #49737 from cocreature/yacreader

yacreader: init at 9.5.0, libunarr: init at 1.0.1
This commit is contained in:
Renaud 2018-11-09 18:29:40 +01:00 committed by GitHub
commit 0fcf1989da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchurl, qmake, poppler, pkgconfig, libunarr, libGLU
, qtdeclarative, qtgraphicaleffects, qtmultimedia, qtquickcontrols, qtscript
}:
stdenv.mkDerivation rec {
name = "yacreader-${version}";
version = "9.5.0";
src = fetchurl {
url = "https://github.com/YACReader/yacreader/releases/download/${version}/${name}-src.tar.xz";
sha256 = "0cv5y76kjvsqsv4fp99j8np5pm4m76868i1nn40q6hy573dmxwm6";
};
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [ poppler libunarr libGLU qtmultimedia qtscript ];
propagatedBuildInputs = [ qtquickcontrols qtgraphicaleffects qtdeclarative ];
enableParallelBuilding = true;
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;
};
}

View file

@ -0,0 +1,21 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
name = "libunarr-${version}";
version = "1.0.1";
src = fetchurl {
url = "https://github.com/selmf/unarr/releases/download/v${version}/unarr-${version}.tar.xz";
sha256 = "1db500k6w90qn6qb4j3zcczailmmv81q9lv4bwq516hbncg5p4sl";
};
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/selmf/unarr;
description = "A lightweight decompression library with support for rar, tar and zip archives";
license = licenses.lgpl3;
};
}

View file

@ -11191,6 +11191,8 @@ with pkgs;
giflib_4_1 = callPackage ../development/libraries/giflib/4.1.nix { };
giflib_5_1 = callPackage ../development/libraries/giflib/5.1.nix { };
libunarr = callPackage ../development/libraries/libunarr { };
libungif = callPackage ../development/libraries/giflib/libungif.nix { };
libunibreak = callPackage ../development/libraries/libunibreak { };
@ -22721,6 +22723,8 @@ with pkgs;
openal = null;
};
yacreader = libsForQt5.callPackage ../applications/graphics/yacreader { };
yadm = callPackage ../applications/version-management/yadm { };
yamdi = callPackage ../tools/video/yamdi { };