1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/development/libraries/gtksourceviewmm/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

32 lines
894 B
Nix

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