kpmcore: broken on Qt < 5.14

This commit is contained in:
Peter Hoeg 2020-08-24 19:46:14 +08:00
parent 41c1d10407
commit 16bcf02c7d

View File

@ -3,11 +3,8 @@
, libatasmart, parted , libatasmart, parted
, utillinux }: , utillinux }:
let stdenv.mkDerivation rec {
pname = "kpmcore"; pname = "kpmcore";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.3.0"; version = "3.3.0";
src = fetchurl { src = fetchurl {
@ -24,12 +21,14 @@ in stdenv.mkDerivation rec {
utillinux # needs blkid (note that this is not provided by utillinux-compat) utillinux # needs blkid (note that this is not provided by utillinux-compat)
]; ];
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
maintainers = with lib.maintainers; [ peterhoeg ]; maintainers = with lib.maintainers; [ peterhoeg ];
# The build requires at least Qt 5.12: # The build requires at least Qt 5.14:
broken = lib.versionOlder qtbase.version "5.12.0"; broken = lib.versionOlder qtbase.version "5.14";
}; };
} }