telepathy-farstream: rename name to pname&version (#193575)

This commit is contained in:
erdnaxe 2022-10-04 15:49:16 +02:00 committed by GitHub
parent 22f103d2df
commit 04c496c155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, telepathy-glib, farstream, dbus-glib }: { lib, stdenv, fetchurl, pkg-config, telepathy-glib, farstream, dbus-glib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-0.6.2";
pname = "telepathy-farstream"; pname = "telepathy-farstream";
version = "0.6.2";
src = fetchurl { src = fetchurl {
url = "https://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz"; url = "https://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
sha256 = "02ky12bb92prr5f6xmvmfq4yz2lj33li6nj4829a98hk5pr9k83g"; sha256 = "02ky12bb92prr5f6xmvmfq4yz2lj33li6nj4829a98hk5pr9k83g";
}; };
propagatedBuildInputs = [ dbus-glib telepathy-glib farstream ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ dbus-glib telepathy-glib farstream ];
meta = with lib; { meta = with lib; {
description = "GObject-based C library that uses Telepathy GLib, Farstream and GStreamer to handle the media streaming part of channels of type Call"; description = "GObject-based C library that uses Telepathy GLib, Farstream and GStreamer to handle the media streaming part of channels of type Call";
homepage = "https://telepathy.freedesktop.org/wiki/Components/Telepathy-Farstream/"; homepage = "https://telepathy.freedesktop.org/wiki/Components/Telepathy-Farstream/";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.lgpl21; license = licenses.lgpl21Only;
}; };
} }