5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
27 lines
842 B
Nix
27 lines
842 B
Nix
{ stdenv, fetchurl, pkgconfig, gtkmm, glibmm, gtksourceview, gnome3 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gtksourceviewmm-${version}";
|
|
version = "3.21.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gtksourceviewmm/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v";
|
|
};
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript { packageName = "gtksourceviewmm"; attrPath = "gnome3.gtksourceviewmm"; };
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ glibmm gtkmm gtksourceview ];
|
|
|
|
meta = with stdenv.lib; {
|
|
platforms = platforms.linux;
|
|
homepage = https://developer.gnome.org/gtksourceviewmm/;
|
|
description = "C++ wrapper for gtksourceview";
|
|
license = licenses.lgpl2;
|
|
maintainers = [ maintainers.juliendehos ];
|
|
};
|
|
}
|
|
|