uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
63
pkgs/development/libraries/farstream/default.nix
Normal file
63
pkgs/development/libraries/farstream/default.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, libnice
|
||||
, pkg-config
|
||||
, autoreconfHook
|
||||
, gstreamer
|
||||
, gst-plugins-base
|
||||
, gupnp-igd
|
||||
, gobject-introspection
|
||||
, gst-plugins-good
|
||||
, gst-plugins-bad
|
||||
, gst-libav
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "farstream";
|
||||
version = "0.2.9";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/farstream/releases/farstream/${pname}-${version}.tar.gz";
|
||||
sha256 = "0yzlh9jf47a3ir40447s7hlwp98f9yr8z4gcm0vjwz6g6cj12zfb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with newer gnumake.
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.freedesktop.org/farstream/farstream/-/commit/54987d44.diff";
|
||||
sha256 = "02pka68p2j1wg7768rq7afa5wl9xv82wp86q7izrmwwnxdmz4zyg";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libnice
|
||||
gupnp-igd
|
||||
libnice
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
autoreconfHook
|
||||
gobject-introspection
|
||||
python3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
gst-libav
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/Farstream";
|
||||
description = "Audio/Video Communications Framework formely known as farsight";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue