fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 fetchurl,
3 fetchpatch,
4 lib,
5 stdenv,
6 pkg-config,
7 clutter,
8 gtk3,
9 glib,
10 cogl,
11 gnome,
12 gdk-pixbuf,
13 gobject-introspection,
14 gst_all_1,
15}:
16
17stdenv.mkDerivation rec {
18 pname = "clutter-gst";
19 version = "3.0.27";
20
21 outputs = [
22 "out"
23 "dev"
24 ];
25
26 src = fetchurl {
27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28 sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
29 };
30
31 patches = [
32 # Add patch from Arch Linux to fix corrupted display with Cheese
33 # https://gitlab.gnome.org/GNOME/cheese/-/issues/51
34 # https://github.com/archlinux/svntogit-packages/tree/packages/clutter-gst/trunk
35 (fetchpatch {
36 url = "https://github.com/archlinux/svntogit-packages/raw/c4dd0bbda35aa603ee790676f6e15541f71b6d36/trunk/0001-video-sink-Remove-RGBx-BGRx-support.patch";
37 sha256 = "sha256-k1fCiM/u7q81UrDYgbqhN/C+q9DVQ+qOyq6vmA3hbSQ=";
38 })
39 ];
40
41 strictDeps = true;
42 nativeBuildInputs = [
43 pkg-config
44 glib
45 gobject-introspection
46 ];
47 propagatedBuildInputs = [
48 clutter
49 gtk3
50 glib
51 cogl
52 gdk-pixbuf
53 gst_all_1.gstreamer
54 gst_all_1.gst-plugins-base
55 ];
56
57 postBuild = "rm -rf $out/share/gtk-doc";
58
59 passthru = {
60 updateScript = gnome.updateScript {
61 packageName = pname;
62 versionPolicy = "odd-unstable";
63 };
64 };
65
66 meta = {
67 description = "GStreamer bindings for clutter";
68
69 homepage = "http://www.clutter-project.org/";
70
71 license = lib.licenses.lgpl2Plus;
72
73 maintainers = [ ];
74 platforms = lib.platforms.unix;
75 };
76}