9833d56c24
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken Tool is still WIP but this is one of the first results. I manually audited the results and removed some results that were not valid. Note that some of these packages maybe should have more constrained platforms set instead of broken set, but I think not being perfectly correct is better than just keep trying to build all these things and never succeeding. Some observations: - Some darwin builds require XCode tools - aarch64-linux builds sometimes suffer from using gcc9 - gcc9 is getting older and misses some new libraries/features - Sometimes tools try to do system detection or expect some explicit settings for platforms that are not x86_64-linux
55 lines
1.3 KiB
Nix
55 lines
1.3 KiB
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, pkg-config
|
|
, dconf
|
|
, telepathy-glib
|
|
, python3
|
|
, libxslt
|
|
, makeWrapper
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "telepathy-mission-control";
|
|
version = "5.16.6";
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "0ibs575pfr0wmhfcw6ln6iz7gw2y45l3bah11rksf6g9jlwsxy1d";
|
|
};
|
|
|
|
buildInputs = [
|
|
python3
|
|
]; # ToDo: optional stuff missing
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
libxslt
|
|
makeWrapper
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
telepathy-glib
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
wrapProgram "$lib/libexec/mission-control-5" \
|
|
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An account manager and channel dispatcher for the Telepathy framework";
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-mission-control/";
|
|
license = licenses.lgpl21Only;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
|
};
|
|
}
|