3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/gtksourceviewmm/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

31 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 ];
};
}