xca: 2.2.1 -> 2.4.0

authored by

Luke Sandell and committed by
Peter Hoeg
547f9bf9 e7c4f557

+8 -10
+8 -10
pkgs/applications/misc/xca/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkg-config 2 - , libtool, openssl, qtbase, qttools }: 1 + { mkDerivation, lib, fetchFromGitHub, autoreconfHook, pkg-config 2 + , libtool, openssl, qtbase, qttools, sphinx }: 3 3 4 4 mkDerivation rec { 5 5 pname = "xca"; 6 - version = "2.2.1"; 6 + version = "2.4.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "chris2511"; 10 10 repo = "xca"; 11 11 rev = "RELEASE.${version}"; 12 - sha256 = "0na2816lkfkkvssh9kmf5vwy6x8kd4x7h138jzy61wrvs69vhnbi"; 12 + sha256 = "04z0mmjsry72nvib4icmwh1717y4q9pf2gr68ljrzln4vv4ckpwk"; 13 13 }; 14 14 15 - postPatch = '' 16 - substituteInPlace doc/code2html \ 17 - --replace /usr/bin/perl ${perl}/bin/perl 18 - ''; 15 + buildInputs = [ libtool openssl qtbase ]; 19 16 20 - buildInputs = [ libtool openssl qtbase ]; 17 + nativeBuildInputs = [ autoreconfHook pkg-config qttools sphinx ]; 21 18 22 - nativeBuildInputs = [ autoreconfHook pkg-config qttools ]; 19 + # Needed for qcollectiongenerator (see https://github.com/NixOS/nixpkgs/pull/92710) 20 + QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}"; 23 21 24 22 enableParallelBuilding = true; 25 23