nixpkgs/pkgs/applications/video/byzanz/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

2016-08-13 08:33:50 +01:00
{ stdenv, fetchgit, wrapGAppsHook, which, gnome3, glib, intltool, pkgconfig, libtool, cairo, gtk3, gst_all_1, xorg }:
2014-10-23 09:42:56 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2014-10-23 09:42:56 +01:00
version = "0.2.3.alpha";
pname = "byzanz";
2014-10-23 09:42:56 +01:00
src = fetchgit {
url = "git://github.com/GNOME/byzanz";
2014-10-23 09:42:56 +01:00
rev = "1875a7f6a3903b83f6b1d666965800f47db9286a";
sha256 = "0a72fw2mxl8vdcdnzy0bwis4jk28pd7nc8qgr4vhyw5pd48dynvh";
2014-10-23 09:42:56 +01:00
};
patches = [ ./add-amflags.patch ];
preBuild = ''
./autogen.sh --prefix=$out
'';
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ which gnome3.gnome-common glib intltool libtool cairo gtk3 xorg.xwininfo ]
2016-08-13 08:33:50 +01:00
++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-libav wrapGAppsHook ]);
2014-10-23 09:42:56 +01:00
meta = with stdenv.lib; {
description = "Tool to record a running X desktop to an animation suitable for presentation in a web browser";
homepage = "https://github.com/GNOME/byzanz";
2014-10-23 09:42:56 +01:00
license = licenses.gpl3;
platforms = platforms.linux;
2017-01-31 10:00:14 +00:00
maintainers = [ ];
2014-10-23 09:42:56 +01:00
};
}