depot/pkgs/development/libraries/gtksourceviewmm/4.x.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
866 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gtkmm3, glibmm, gtksourceview4, gnome }:
stdenv.mkDerivation rec {
pname = "gtksourceviewmm";
version = "3.91.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "088p2ch1b4fvzl9416nw3waj0pqgp31cd5zj4lx5hzzrq2afgapy";
};
passthru = {
updateScript = gnome.updateScript {
attrPath = "gtksourceviewmm4";
packageName = pname;
versionPolicy = "none";
};
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ glibmm gtkmm3 gtksourceview4 ];
meta = with lib; {
platforms = platforms.linux;
homepage = "https://gitlab.gnome.org/GNOME/gtksourceviewmm";
description = "C++ wrapper for gtksourceview";
license = licenses.lgpl2;
maintainers = teams.gnome.members;
};
}