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

26 lines
753 B
Nix
Raw Normal View History

{ fetchurl, stdenv, pkgconfig, gobjectIntrospection, clutter, gtk3 }:
stdenv.mkDerivation rec {
2016-09-25 14:21:34 +01:00
major = "1.8";
2017-10-03 02:12:51 +01:00
minor = "4";
2016-09-25 14:21:34 +01:00
name = "clutter-gtk-${major}.${minor}";
src = fetchurl {
2016-09-25 14:21:34 +01:00
url = "mirror://gnome/sources/clutter-gtk/${major}/${name}.tar.xz";
2017-10-03 02:12:51 +01:00
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
};
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;
maintainers = with stdenv.lib.maintainers; [ lethalman ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}