depot/third_party/nixpkgs/pkgs/development/libraries/goocanvasmm/default.nix

33 lines
870 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, goocanvas2, gtkmm3, gnome3 }:
stdenv.mkDerivation rec {
pname = "goocanvasmm";
version = "1.90.11";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0vpdfrj59nwzwj8bk4s0h05iyql62pxjzsxh72g3vry07s3i3zw0";
};
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ gtkmm3 goocanvas2 ];
enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "goocanvasmm2";
};
};
meta = with stdenv.lib; {
description = "C++ bindings for GooCanvas";
homepage = "https://wiki.gnome.org/Projects/GooCanvas";
license = licenses.lgpl2;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}