depot/third_party/nixpkgs/pkgs/development/libraries/gtksourceviewmm/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

30 lines
844 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";
};
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glibmm gtkmm3 gtksourceview3 ];
meta = with lib; {
platforms = platforms.linux;
homepage = "https://developer.gnome.org/gtksourceviewmm/";
description = "C++ wrapper for gtksourceview";
license = licenses.lgpl2;
maintainers = [ maintainers.juliendehos ];
};
}