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

31 lines
853 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtkmm3, glibmm, gtksourceview3, gnome3 }:
stdenv.mkDerivation rec {
pname = "gtksourceviewmm";
2018-03-13 01:03:18 +00:00
version = "3.21.3";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceviewmm/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2018-03-13 01:03:18 +00:00
sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
};
passthru = {
updateScript = gnome3.updateScript {
packageName = "gtksourceviewmm";
versionPolicy = "none";
};
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glibmm gtkmm3 gtksourceview3 ];
meta = with stdenv.lib; {
platforms = platforms.linux;
homepage = "https://developer.gnome.org/gtksourceviewmm/";
description = "C++ wrapper for gtksourceview";
license = licenses.lgpl2;
maintainers = [ maintainers.juliendehos ];
};
}