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

38 lines
990 B
Nix
Raw Normal View History

2018-06-01 18:34:56 +02:00
{ fetchurl, stdenv, pkgconfig, meson, ninja
, gobject-introspection, clutter, gtk3, gnome3 }:
2018-06-01 18:34:56 +02:00
2018-03-03 02:42:45 +01:00
let
pname = "clutter-gtk";
version = "1.8.4";
in
2018-06-01 18:34:56 +02:00
stdenv.mkDerivation rec {
2018-03-03 02:42:45 +01:00
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2017-10-03 03:12:51 +02:00
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
};
outputs = [ "out" "dev" ];
propagatedBuildInputs = [ clutter gtk3 ];
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ];
postBuild = "rm -rf $out/share/gtk-doc";
2018-03-03 02:42:45 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
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 ++ stdenv.lib.platforms.linux; # arbitrary choice
};
}