depot/third_party/nixpkgs/pkgs/development/libraries/gtksourceviewmm/default.nix
Default email a425ba4985 Project import generated by Copybara.
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
2021-12-30 14:39:12 +01:00

31 lines
866 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview3, gnome }:
stdenv.mkDerivation rec {
pname = "gtksourceviewmm";
version = "3.21.3";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceviewmm/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
};
passthru = {
updateScript = gnome.updateScript {
packageName = "gtksourceviewmm";
versionPolicy = "none";
freeze = true;
};
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glibmm gtkmm3 gtksourceview3 ];
meta = with lib; {
platforms = platforms.unix;
homepage = "https://gitlab.gnome.org/GNOME/gtksourceviewmm";
description = "C++ wrapper for gtksourceview";
license = licenses.lgpl2;
maintainers = [ maintainers.juliendehos ];
};
}