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
65
pkgs/applications/video/byzanz/default.nix
Normal file
65
pkgs/applications/video/byzanz/default.nix
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{ lib, stdenv
|
||||
, fetchgit
|
||||
, wrapGAppsHook
|
||||
, cairo
|
||||
, glib
|
||||
, gnome
|
||||
, gst_all_1
|
||||
, gtk3
|
||||
, intltool
|
||||
, libtool
|
||||
, pkg-config
|
||||
, which
|
||||
, xorg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "byzanz";
|
||||
version = "unstable-2016-03-12";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://gitlab.gnome.org/Archive/byzanz";
|
||||
rev = "81235d235d12c9687897f7fc6ec0de1feaed6623";
|
||||
hash = "sha256-3DUwXCPBAmeCRlDkiPUgwNyBa6bCvC/TLguMCK3bo4E=";
|
||||
};
|
||||
|
||||
patches = [ ./add-amflags.patch ];
|
||||
|
||||
preBuild = ''
|
||||
./autogen.sh --prefix=$out
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = builtins.concatStringsSep " " [
|
||||
"-Wno-error=deprecated-declarations"
|
||||
"-Wno-error=incompatible-pointer-types"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
which
|
||||
gnome.gnome-common
|
||||
glib
|
||||
intltool
|
||||
libtool
|
||||
cairo
|
||||
gtk3
|
||||
xorg.xwininfo
|
||||
xorg.libXdamage
|
||||
] ++ (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-bad
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
gst-libav
|
||||
wrapGAppsHook
|
||||
]);
|
||||
|
||||
meta = with 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";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue