9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
46 lines
990 B
Nix
46 lines
990 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, gtk2
|
|
, mono
|
|
, gtk-sharp-2_0
|
|
, gnome2
|
|
, autoconf
|
|
, automake
|
|
, libtool
|
|
, which
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-sharp";
|
|
version = "2.24.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mono";
|
|
repo = "gnome-sharp";
|
|
rev = version;
|
|
sha256 = "15jsm6n0sih0nf3w8vmvik97q7l3imz4vkdzmp9k7bssiz4glj1z";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoconf automake libtool which ];
|
|
buildInputs = [ gtk2 mono gtk-sharp-2_0 ]
|
|
++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]);
|
|
|
|
patches = [ ./fix-mono-path.patch ];
|
|
|
|
preConfigure = ''
|
|
./bootstrap-${lib.versions.majorMinor version}
|
|
'';
|
|
|
|
dontStrip = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://www.mono-project.com/docs/gui/gtksharp/";
|
|
description = "A .NET language binding for assorted GNOME libraries";
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|