Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 42 lines 937 B view raw
1{ stdenv 2, lib 3, fetchurl 4, pkg-config 5, gobject-introspection 6, file 7, gtk2 8, glib 9, cairo 10, atk 11, pango 12, libtiff 13, libpng 14, libjpeg 15}: 16 17stdenv.mkDerivation rec { 18 pname = "gtkextra"; 19 version = "3.3.4"; 20 21 src = fetchurl { 22 url = "mirror://sourceforge/project/gtkextra/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; 23 sha256 = "1mpihbyzhv3ymfim93l9xnxmzhwyqdba5xb4rdn5vggdg25766v5"; 24 }; 25 26 postPatch = '' 27 substituteInPlace configure \ 28 --replace "/usr/bin/file" "${file}/bin/file" 29 ''; 30 31 nativeBuildInputs = [ gobject-introspection pkg-config ]; 32 33 buildInputs = [ gtk2 glib cairo atk pango libtiff libpng libjpeg ]; 34 35 meta = with lib; { 36 homepage = "https://gtkextra.sourceforge.net/"; 37 description = "GtkExtra is a useful set of widgets for creating GUI's for GTK+."; 38 license = licenses.lgpl2Plus; 39 platforms = platforms.linux; 40 maintainers = with maintainers; [ tesq0 ]; 41 }; 42}