nixpkgs/pkgs/development/libraries/clutter-gtk/default.nix

26 lines
771 B
Nix
Raw Normal View History

{ fetchurl, stdenv, pkgconfig, gobjectIntrospection, clutter, gtk3 }:
stdenv.mkDerivation rec {
2016-09-25 15:21:34 +02:00
major = "1.8";
minor = "2";
2016-09-25 15:21:34 +02:00
name = "clutter-gtk-${major}.${minor}";
src = fetchurl {
2016-09-25 15:21:34 +02:00
url = "mirror://gnome/sources/clutter-gtk/${major}/${name}.tar.xz";
sha256 = "da27d486325490ad3f65d2abf9413aeb8b4a8f7b559e4b2f73567a5344a26b94";
};
propagatedBuildInputs = [ clutter gtk3 ];
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
postBuild = "rm -rf $out/share/gtk-doc";
meta = {
description = "Clutter-GTK";
homepage = http://www.clutter-project.org/;
license = stdenv.lib.licenses.lgpl2Plus;
2016-09-25 15:21:34 +02:00
maintainers = with stdenv.lib.maintainers; [ urkud lethalman ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}