mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
53 lines
1.7 KiB
Nix
53 lines
1.7 KiB
Nix
{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
|
|
, libXdamage, libXcomposite, libXi, cogl, pango, atk, json_glib,
|
|
gobjectIntrospection
|
|
}:
|
|
|
|
let
|
|
ver_maj = "1.16";
|
|
ver_min = "2";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "clutter-${ver_maj}.${ver_min}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/clutter/${ver_maj}/${name}.tar.xz";
|
|
sha256 = "0hnz6fnrkc7ixrm2x83sxyha32p9896d7ilzhvxwfgzlh26fidqc";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
propagatedBuildInputs =
|
|
[ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
|
atk json_glib gobjectIntrospection
|
|
];
|
|
|
|
configureFlags = [ "--enable-introspection" ]; # needed by muffin AFAIK
|
|
|
|
#doCheck = true; # no tests possible without a display
|
|
|
|
meta = {
|
|
description = "Library for creating fast, dynamic graphical user interfaces";
|
|
|
|
longDescription =
|
|
'' Clutter is free software library for creating fast, compelling,
|
|
portable, and dynamic graphical user interfaces. It is a core part
|
|
of MeeGo, and is supported by the open source community. Its
|
|
development is sponsored by Intel.
|
|
|
|
Clutter uses OpenGL for rendering (and optionally OpenGL|ES for use
|
|
on mobile and embedded platforms), but wraps an easy to use,
|
|
efficient, flexible API around GL's complexity.
|
|
|
|
Clutter enforces no particular user interface style, but provides a
|
|
rich, generic foundation for higher-level toolkits tailored to
|
|
specific needs.
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
|
homepage = http://www.clutter-project.org/;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ urkud ];
|
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
|
};
|
|
}
|