calamares: remove due to being broken and insecure.

This commit is contained in:
Graham Christensen 2016-12-07 08:10:39 -05:00
parent cbec455ec6
commit c677c35922
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 0 additions and 63 deletions

View file

@ -1,57 +0,0 @@
{ stdenv, fetchurl, cmake, polkit-qt, libyamlcpp, python, boost, parted
, extra-cmake-modules, kconfig, ki18n, kcoreaddons, solid, utillinux, libatasmart
, ckbcomp, glibc, tzdata, xkeyboard_config, qtbase, qtsvg, qttools }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "calamares";
version = "1.1.4.2";
# release including submodule
src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${name}.tar.gz";
sha256 = "1mh0nmzc3i1aqcj79q2s3vpccn0mirlfbj26sfyb0v6gcrvf707d";
};
buildInputs = [
cmake qtbase qtsvg qttools libyamlcpp python boost polkit-qt parted
extra-cmake-modules kconfig ki18n kcoreaddons solid utillinux libatasmart
];
cmakeFlags = [
"-DPYTHON_LIBRARY=${python}/lib/libpython${python.majorVersion}m.so"
"-DPYTHON_INCLUDE_DIR=${python}/include/python${python.majorVersion}m"
"-DWITH_PARTITIONMANAGER=1"
];
patchPhase = ''
sed -e "s,/usr/bin/calamares,$out/bin/calamares," \
-i calamares.desktop \
-i com.github.calamares.calamares.policy
sed -e 's,/usr/share/zoneinfo,${tzdata}/share/zoneinfo,' \
-i src/modules/locale/timezonewidget/localeconst.h \
-i src/modules/locale/SetTimezoneJob.cpp
sed -e 's,/usr/share/i18n/locales,${glibc.out}/share/i18n/locales,' \
-i src/modules/locale/timezonewidget/localeconst.h
sed -e 's,/usr/share/X11/xkb/rules/base.lst,${xkeyboard_config}/share/X11/xkb/rules/base.lst,' \
-i src/modules/keyboard/keyboardwidget/keyboardglobal.h
sed -e 's,"ckbcomp","${ckbcomp}/bin/ckbcomp",' \
-i src/modules/keyboard/keyboardwidget/keyboardpreview.cpp
'';
preInstall = ''
substituteInPlace cmake_install.cmake --replace "${polkit-qt}" "$out"
'';
meta = with stdenv.lib; {
description = "Distribution-independent installer framework";
license = licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
platforms = platforms.linux;
broken = true;
};
}

View file

@ -715,12 +715,6 @@ in
caddy = callPackage ../servers/caddy { }; caddy = callPackage ../servers/caddy { };
calamares = qt5.callPackage ../tools/misc/calamares rec {
python = python3;
boost = pkgs.boost.override { python=python3; };
libyamlcpp = callPackage ../development/libraries/libyaml-cpp { boost=boost; };
};
capstone = callPackage ../development/libraries/capstone { }; capstone = callPackage ../development/libraries/capstone { };
catch = callPackage ../development/libraries/catch { }; catch = callPackage ../development/libraries/catch { };