mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
531e4b80c9
Only acts on one-line dependency lists.
23 lines
631 B
Nix
23 lines
631 B
Nix
{ stdenv, fetchurl, gtk2, 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";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk2 cairo glib ];
|
|
|
|
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;
|
|
};
|
|
}
|