xca: 2.2.1 -> 2.4.0

This commit is contained in:
Luke Sandell 2022-05-03 21:52:06 -05:00 committed by Peter Hoeg
parent e7c4f5578e
commit 547f9bf973

View file

@ -1,25 +1,23 @@
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, perl, pkg-config
, libtool, openssl, qtbase, qttools }:
{ mkDerivation, lib, fetchFromGitHub, autoreconfHook, pkg-config
, libtool, openssl, qtbase, qttools, sphinx }:
mkDerivation rec {
pname = "xca";
version = "2.2.1";
version = "2.4.0";
src = fetchFromGitHub {
owner = "chris2511";
repo = "xca";
rev = "RELEASE.${version}";
sha256 = "0na2816lkfkkvssh9kmf5vwy6x8kd4x7h138jzy61wrvs69vhnbi";
sha256 = "04z0mmjsry72nvib4icmwh1717y4q9pf2gr68ljrzln4vv4ckpwk";
};
postPatch = ''
substituteInPlace doc/code2html \
--replace /usr/bin/perl ${perl}/bin/perl
'';
buildInputs = [ libtool openssl qtbase ];
nativeBuildInputs = [ autoreconfHook pkg-config qttools ];
nativeBuildInputs = [ autoreconfHook pkg-config qttools sphinx ];
# Needed for qcollectiongenerator (see https://github.com/NixOS/nixpkgs/pull/92710)
QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";
enableParallelBuilding = true;