mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
40 lines
1.3 KiB
Nix
40 lines
1.3 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, libxslt, telepathy-glib, python3, libxml2, dbus-glib, dbus
|
|
, sqlite, libsoup, libnice, gnutls
|
|
, fetchpatch
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "telepathy-gabble";
|
|
version = "0.18.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://telepathy.freedesktop.org/releases/telepathy-gabble/telepathy-gabble-${version}.tar.gz";
|
|
sha256 = "174nlkqm055vrhv11gy73m20jbsggcb0ddi51c7s9m3j5ibr2p0i";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/archlinux/svntogit-packages/raw/edcf78c831894000f2fbfd3e5818e363911c746a/trunk/telepathy-gabble-0.18.4-python3.patch";
|
|
hash = "sha256-bvcZW6gbCNogqwPDaXHTbohe7c2GAYjXeHGyBEDVsB4=";
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config libxslt python3 ];
|
|
buildInputs = [ libxml2 dbus-glib sqlite libsoup libnice telepathy-glib gnutls ];
|
|
|
|
nativeCheckInputs = [ dbus ];
|
|
|
|
configureFlags = [ "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt" ];
|
|
|
|
enableParallelBuilding = true;
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Jabber/XMPP connection manager for the Telepathy framework";
|
|
mainProgram = "telepathy-gabble-xmpp-console";
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-gabble/";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|