nixpkgs/pkgs/development/libraries/goocanvas/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

22 lines
602 B
Nix

{ stdenv, fetchurl, gtk, cairo, glib, pkgconfig }:
stdenv.mkDerivation rec {
majVersion = "1.0";
version = "${majVersion}.0";
name = "goocanvas-${version}";
src = fetchurl {
url = "mirror://gnome/sources/goocanvas/${majVersion}/${name}.tar.bz2";
sha256 = "07kicpcacbqm3inp7zq32ldp95mxx4kfxpaazd0x5jk7hpw2w1qw";
};
buildInputs = [ gtk cairo glib pkgconfig ];
meta = {
description = "Canvas widget for GTK+ based on the the Cairo 2D library";
homepage = http://goocanvas.sourceforge.net/;
license = ["GPL" "LGPL"];
platforms = stdenv.lib.platforms.unix;
};
}