mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
a51a99c690
camelCase package name was a huge inconsistency in GNOME package set.
32 lines
989 B
Nix
32 lines
989 B
Nix
{ stdenv, fetchurl, pkgconfig, gettext, gtk-doc, gobject-introspection, python2, gtk3, cairo, glib }:
|
|
|
|
let
|
|
version = "2.0.4";
|
|
in stdenv.mkDerivation rec {
|
|
name = "goocanvas-${version}";
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/goocanvas/2.0/${name}.tar.xz";
|
|
sha256 = "141fm7mbqib0011zmkv3g8vxcjwa7hypmq71ahdyhnj2sjvy4a67";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig gettext gtk-doc python2 ];
|
|
buildInputs = [ gtk3 cairo glib gobject-introspection ];
|
|
|
|
configureFlags = [
|
|
"--disable-python"
|
|
];
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "$(dev)/share/gir-1.0";
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "$(out)/lib/girepository-1.0";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Canvas widget for GTK+ based on the the Cairo 2D library";
|
|
homepage = https://wiki.gnome.org/Projects/GooCanvas;
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|