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

34 lines
899 B
Nix
Raw Normal View History

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