lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #32833 from jtojnar/vala-cleanup

Vala cleanup

authored by

Orivej Desh and committed by
GitHub
34451383 a0aeb238

+265 -200
+4 -5
pkgs/applications/audio/gmpc/default.nix
··· 1 1 { stdenv, fetchurl, libtool, intltool, pkgconfig, glib 2 - , gtk2, curl, mpd_clientlib, libsoup, gob2, vala_0_23, libunique 2 + , gtk2, curl, mpd_clientlib, libsoup, gob2, vala, libunique 3 3 , libSM, libICE, sqlite, hicolor_icon_theme, wrapGAppsHook 4 4 }: 5 5 ··· 24 24 sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556"; 25 25 }; 26 26 27 - nativeBuildInputs = [ pkgconfig ]; 27 + nativeBuildInputs = [ pkgconfig libtool intltool gob2 vala wrapGAppsHook ]; 28 28 buildInputs = [ 29 - libtool intltool glib gtk2 curl mpd_clientlib libsoup 30 - libunique libmpd gob2 vala_0_23 libSM libICE sqlite hicolor_icon_theme 31 - wrapGAppsHook 29 + glib gtk2 curl mpd_clientlib libsoup 30 + libunique libmpd libSM libICE sqlite hicolor_icon_theme 32 31 ]; 33 32 34 33 meta = with stdenv.lib; {
+2 -2
pkgs/applications/editors/vanubi/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, vala_0_26, which, autoconf, automake 1 + { stdenv, fetchurl, pkgconfig, vala_0_28, which, autoconf, automake 2 2 , libtool, glib, gtk3, gnome3, libwnck3, asciidoc, python3Packages }: 3 3 4 4 stdenv.mkDerivation rec { ··· 11 11 }; 12 12 13 13 nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = [ vala_0_26 which autoconf automake 14 + buildInputs = [ vala_0_28 which autoconf automake 15 15 libtool glib gtk3 libwnck3 asciidoc 16 16 gnome3.gtksourceview gnome3.vte_290 python3Packages.pygments ]; 17 17
+8 -9
pkgs/applications/graphics/giv/default.nix
··· 1 1 { stdenv, fetchFromGitHub, gdk_pixbuf, scons, pkgconfig, gtk2, glib, 2 - pcre, cfitsio, perl, gob2, vala_0_23, libtiff, json_glib }: 2 + pcre, cfitsio, perl, gob2, vala, libtiff, json_glib }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "giv-${version}"; ··· 16 16 17 17 prePatch = '' 18 18 sed -i s,/usr/bin/perl,${perl}/bin/perl, doc/eperl 19 - sed -i s,/usr/local,$out, SConstruct 19 + sed -i s,/usr/local,$out, SConstruct 20 20 ''; 21 21 22 22 patches = [ ./build.patch ]; ··· 25 25 26 26 installPhase = "scons install"; 27 27 28 - nativeBuildInputs = [ pkgconfig ]; 29 - buildInputs = [ gdk_pixbuf gtk2 glib scons pcre cfitsio perl gob2 vala_0_23 libtiff 30 - json_glib ]; 28 + nativeBuildInputs = [ scons pkgconfig vala perl gob2 ]; 29 + buildInputs = [ gdk_pixbuf gtk2 glib pcre cfitsio libtiff json_glib ]; 31 30 32 - meta = { 31 + meta = with stdenv.lib; { 33 32 description = "Cross platform image and hierarchical vector viewer based"; 34 33 homepage = http://giv.sourceforge.net/giv/; 35 - license = stdenv.lib.licenses.gpl2Plus; 36 - maintainers = with stdenv.lib.maintainers; [viric]; 37 - platforms = with stdenv.lib.platforms; linux; 34 + license = licenses.gpl2Plus; 35 + maintainers = with maintainers; [ viric ]; 36 + platforms = with platforms; linux; 38 37 }; 39 38 }
+19 -20
pkgs/applications/graphics/shotwell/default.nix
··· 1 - { fetchurl, stdenv, m4, glibc, gtk3, libexif, libgphoto2, libsoup, libxml2, vala_0_28, sqlite 2 - , webkitgtk, pkgconfig, gnome3, gst_all_1, which, udev, libgudev, libraw, glib, json_glib 3 - , gettext, desktop_file_utils, lcms2, gdk_pixbuf, librsvg, wrapGAppsHook 4 - , gnome_doc_utils, hicolor_icon_theme, itstool, libgdata }: 1 + { fetchurl, stdenv, meson, ninja, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite 2 + , webkitgtk, pkgconfig, gnome3, gst_all_1, libgudev, libraw, glib, json_glib 3 + , gettext, desktop_file_utils, gdk_pixbuf, librsvg, wrapGAppsHook 4 + , itstool, libgdata }: 5 5 6 - # for dependencies see http://www.yorba.org/projects/shotwell/install/ 6 + # for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling 7 7 8 8 stdenv.mkDerivation rec { 9 9 version = "${major}.${minor}"; 10 10 major = "0.27"; 11 - minor = "1"; 11 + minor = "2"; 12 12 name = "shotwell-${version}"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnome/sources/shotwell/${major}/${name}.tar.xz"; 16 - sha256 = "1jav7qv0s1v6wvd7x2ri85hjqnbswq883pnd228qhd6bhjbryp89"; 16 + sha256 = "0bxc15gk2306fvxg6bg1s6c706yd89i66ldng0z102mcfi98warb"; 17 17 }; 18 18 19 - NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include"; 19 + nativeBuildInputs = [ 20 + meson ninja pkgconfig itstool gettext desktop_file_utils wrapGAppsHook 21 + ]; 20 22 21 - configureFlags = [ "--disable-gsettings-convert-install" ]; 23 + buildInputs = [ 24 + gtk3 libexif libgphoto2 libsoup libxml2 vala sqlite webkitgtk 25 + gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee 26 + libgudev gnome3.gexiv2 gnome3.gsettings_desktop_schemas 27 + libraw json_glib glib gdk_pixbuf librsvg gnome3.rest 28 + gnome3.gcr gnome3.defaultIconTheme libgdata 29 + ]; 22 30 23 - preConfigure = '' 24 - patchShebangs . 31 + postInstall = '' 32 + glib-compile-schemas $out/share/glib-2.0/schemas 25 33 ''; 26 - 27 - nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; 28 - 29 - buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala_0_28 sqlite webkitgtk 30 - gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee 31 - which udev libgudev gnome3.gexiv2 hicolor_icon_theme 32 - libraw json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg 33 - gnome_doc_utils gnome3.rest gnome3.gcr 34 - gnome3.defaultIconTheme itstool libgdata ]; 35 34 36 35 meta = with stdenv.lib; { 37 36 description = "Popular photo organizer for the GNOME desktop";
+23 -12
pkgs/applications/misc/deepin-terminal/default.nix
··· 1 - { stdenv, unzip, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, gettext, libsecret, json_glib }: 1 + { stdenv, fetchurl, fetchFromGitHub, pkgconfig, gtk3, vala, cmake, vte, libgee, wnck, zssh, gettext, librsvg, libsecret, json_glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "deepin-terminal-${version}"; 5 - version = "2.6.1"; 5 + version = "2.9.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "linuxdeepin"; 9 9 repo = "deepin-terminal"; 10 10 rev = version; 11 - sha256 = "11lylkrv69k2jvwparnxymr7z3x9cs82q9p0lr2wrfr48hnfwp8b"; 11 + sha256 = "1pmg1acs44c30hz9rpr6x1l6lyvlylc2pz5lv4ai0rhv37n51yn2"; 12 12 }; 13 13 14 - patchPhase = '' 15 - substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\" 14 + patches = [ 15 + # Do not build vendored zssh and vte 16 + (fetchurl { 17 + name = "remove-vendor.patch"; 18 + url = https://git.archlinux.org/svntogit/community.git/plain/trunk/remove-vendor.patch?h=packages/deepin-terminal&id=5baa756e8e6ac8ce43fb122fce270756cc55086c; 19 + sha256 = "0zrq004malphpy7xv5z502bpq30ybyj1rr4hlq4k5m4fpk29dlw6"; 20 + }) 21 + ]; 22 + 23 + postPatch = '' 24 + substituteInPlace project_path.c --replace __FILE__ \"$out/share/deepin-terminal/\" 25 + substituteInPlace ssh_login.sh --replace /usr/lib/deepin-terminal/zssh "${zssh}/bin/zssh" 16 26 ''; 17 27 18 - nativeBuildInputs = [ pkgconfig vala cmake gettext unzip ]; 19 - buildInputs = [ gtk3 vte libgee wnck libsecret json_glib ]; 28 + nativeBuildInputs = [ pkgconfig vala cmake gettext ]; 29 + buildInputs = [ gtk3 vte libgee wnck librsvg libsecret json_glib ]; 20 30 21 - meta = { 31 + meta = with stdenv.lib; { 22 32 description = "The default terminal emulation for Deepin"; 23 33 longDescription = '' 24 - Deepin terminal, it sharpens your focus in the world of command line! 25 - It is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. 34 + Deepin terminal, it sharpens your focus in the world of command line! 35 + It is an advanced terminal emulator with workspace, multiple windows, remote management, quake mode and other features. 26 36 ''; 27 37 homepage = https://github.com/linuxdeepin/deepin-terminal/; 28 - license = stdenv.lib.licenses.gpl3; 29 - platforms = stdenv.lib.platforms.linux; 38 + license = licenses.gpl3; 39 + maintainers = with maintainers; [ ]; 40 + platforms = platforms.linux; 30 41 }; 31 42 }
+2 -2
pkgs/applications/misc/finalterm/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, makeWrapper 2 - , pkgconfig, cmake, libxml2, vala_0_23, intltool, libmx, gnome3, gtk3, gtk_doc 2 + , pkgconfig, cmake, libxml2, vala_0_26, intltool, libmx, gnome3, gtk3, gtk_doc 3 3 , keybinder3, clutter_gtk, libnotify 4 4 , libxkbcommon, xorg, udev 5 5 , bashInteractive ··· 19 19 20 20 nativeBuildInputs = [ pkgconfig cmake intltool makeWrapper ]; 21 21 buildInputs = [ 22 - vala_0_23 gtk3 gnome3.gnome_common gnome3.libgee 22 + vala_0_26 gtk3 gnome3.gnome_common gnome3.libgee 23 23 gtk_doc clutter_gtk libmx keybinder3 libxml2 libnotify 24 24 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence 25 25 libxkbcommon
+21 -23
pkgs/applications/misc/synapse/default.nix
··· 1 1 { stdenv, fetchurl, intltool, pkgconfig, glib, libnotify, gtk3, libgee 2 - , keybinder3, json_glib, zeitgeist, vala_0_23, hicolor_icon_theme 2 + , keybinder3, json_glib, zeitgeist, vala_0_34, hicolor_icon_theme 3 3 }: 4 4 5 - with stdenv.lib; 6 - 7 - stdenv.mkDerivation rec { 8 - name = "synapse-0.2.99.1"; 5 + let 6 + version = "0.2.99.2"; 7 + in stdenv.mkDerivation rec { 8 + name = "synapse-${version}"; 9 9 10 10 src = fetchurl { 11 - url = "https://launchpad.net/synapse-project/0.3/0.2.99.1/+download/${name}.tar.xz"; 12 - sha256 = "846d8a5130580bb47c754bb7f20dc76311e589c00a18b02370a5d78b52409220"; 11 + url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${name}.tar.xz"; 12 + sha256 = "04cnsmwf9xa52dh7rpb4ia715c0ls8jg1p7llc9yf3lbg1m0bvzv"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 15 + nativeBuildInputs = [ pkgconfig intltool vala_0_34 ]; 16 16 buildInputs = [ 17 - intltool glib libnotify gtk3 libgee keybinder3 json_glib zeitgeist 18 - vala_0_23 hicolor_icon_theme 17 + glib libnotify gtk3 libgee keybinder3 json_glib zeitgeist 18 + hicolor_icon_theme 19 19 ]; 20 20 21 - meta = { 22 - longDescription = '' 23 - Semantic launcher written in Vala that you can use to start applications 24 - as well as find and access relevant documents and files by making use of 25 - the Zeitgeist engine 26 - ''; 27 - description = '' 28 - Semantic launcher to start applications and find relevant files 29 - ''; 30 - homepage = https://launchpad.net/synapse-project; 31 - license = stdenv.lib.licenses.gpl3; 32 - maintainers = with stdenv.lib.maintainers; [ mahe ]; 33 - platforms = with stdenv.lib.platforms; all; 21 + meta = with stdenv.lib; { 22 + longDescription = '' 23 + Semantic launcher written in Vala that you can use to start applications 24 + as well as find and access relevant documents and files by making use of 25 + the Zeitgeist engine 26 + ''; 27 + description = "Semantic launcher to start applications and find relevant files"; 28 + homepage = https://launchpad.net/synapse-project; 29 + license = licenses.gpl3; 30 + maintainers = with maintainers; [ mahe ]; 31 + platforms = with platforms; all; 34 32 }; 35 33 }
+2 -3
pkgs/applications/networking/browsers/midori/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, intltool, vala_0_23, wrapGAppsHook 1 + { stdenv, fetchurl, cmake, pkgconfig, intltool, vala_0_34, wrapGAppsHook 2 2 , gtk3, webkitgtk, librsvg, libnotify, sqlite 3 3 , glib_networking, gsettings_desktop_schemas, libsoup, pcre, gnome3 4 4 , libxcb, libpthreadstubs, libXdmcp, libxkbcommon, epoxy, at_spi2_core ··· 29 29 }; 30 30 31 31 nativeBuildInputs = [ 32 - pkgconfig wrapGAppsHook cmake intltool 32 + pkgconfig wrapGAppsHook cmake intltool vala_0_34 33 33 ]; 34 34 35 35 buildInputs = [ 36 - vala_0_23 37 36 gtk3 webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr 38 37 libxcb libpthreadstubs libXdmcp libxkbcommon epoxy at_spi2_core 39 38 (libsoup.override {gnomeSupport = true; valaSupport = true;})
+26
pkgs/data/misc/osinfo-db/default.nix
··· 1 + { stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "osinfo-db-20170813"; 5 + 6 + src = fetchurl { 7 + url = "https://releases.pagure.org/libosinfo/${name}.tar.xz"; 8 + sha256 = "0v9i325aaflzj2y5780mj9b0jv5ysb1bn90bm3s4f2ck5n124ffw"; 9 + }; 10 + 11 + nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ]; 12 + 13 + phases = [ "installPhase" ]; 14 + 15 + installPhase = '' 16 + osinfo-db-import --dir "$out/share/osinfo" "${src}" 17 + ''; 18 + 19 + meta = with stdenv.lib; { 20 + description = "Osinfo database of information about operating systems for virtualization provisioning tools"; 21 + homepage = https://libosinfo.org/; 22 + license = licenses.gpl2Plus; 23 + platforms = platforms.linux; 24 + maintainers = [ maintainers.bjornfor ]; 25 + }; 26 + }
-6
pkgs/development/compilers/vala/default.nix
··· 29 29 30 30 in rec { 31 31 32 - vala_0_23 = generic { 33 - major = "0.23"; 34 - minor = "2"; 35 - sha256 = "0g22ss9qbm3fqhx4fxhsyfmdc5g1hgdw4dz9d37f4489kl0qf8pl"; 36 - }; 37 - 38 32 vala_0_26 = generic { 39 33 major = "0.26"; 40 34 minor = "2";
+2 -2
pkgs/development/libraries/libappindicator/default.nix
··· 5 5 , glib, dbus_glib, gtkVersion 6 6 , gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null 7 7 , gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null 8 - , python2Packages, gobjectIntrospection, vala_0_23 8 + , python2Packages, gobjectIntrospection, vala 9 9 , monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null 10 10 }: 11 11 ··· 34 34 35 35 buildInputs = [ 36 36 glib dbus_glib 37 - python pygobject2 pygtk gobjectIntrospection vala_0_23 37 + python pygobject2 pygtk gobjectIntrospection vala 38 38 ] ++ (if gtkVersion == "2" 39 39 then [ libindicator-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ] 40 40 else [ libindicator-gtk3 ]);
+3 -3
pkgs/development/libraries/libindicate/default.nix
··· 4 4 , pkgconfig, autoconf 5 5 , glib, dbus_glib, libdbusmenu-glib 6 6 , gtkVersion, gtk2 ? null, gtk3 ? null 7 - , pythonPackages, gobjectIntrospection, vala_0_23, gnome_doc_utils 7 + , pythonPackages, gobjectIntrospection, vala, gnome_doc_utils 8 8 , monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null 9 9 }: 10 10 ··· 24 24 sha256 = "10am0ymajx633b33anf6b79j37k61z30v9vaf5f9fwk1x5cw1q21"; 25 25 }; 26 26 27 - nativeBuildInputs = [ pkgconfig autoconf ]; 27 + nativeBuildInputs = [ pkgconfig autoconf gobjectIntrospection vala gnome_doc_utils ]; 28 28 29 29 buildInputs = [ 30 30 glib dbus_glib libdbusmenu-glib 31 - python pygobject2 pygtk gobjectIntrospection vala_0_23 gnome_doc_utils 31 + python pygobject2 pygtk 32 32 ] ++ (if gtkVersion == "2" 33 33 then [ gtk2 ] ++ optionals monoSupport [ mono gtk-sharp-2_0 ] 34 34 else [ gtk3 ]);
+30 -10
pkgs/development/libraries/libosinfo/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gobjectIntrospection, libsoup 2 - , libxslt, check, vala_0_23 ? null 1 + { stdenv, fetchurl, pkgconfig, intltool, gobjectIntrospection, gtk_doc, docbook_xsl 2 + , glib, libsoup, libxml2, libxslt, check, curl, perl, hwdata, osinfo-db, vala ? null 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "libosinfo-0.2.12"; 6 + name = "libosinfo-1.1.0"; 7 7 8 8 src = fetchurl { 9 - url = "https://fedorahosted.org/releases/l/i/libosinfo/${name}.tar.gz"; 10 - sha256 = "1vcg8ylh7q69s9y6hj94dqfffwfbann3i28yqgfc01navf6yl07s"; 9 + url = "https://releases.pagure.org/libosinfo/${name}.tar.gz"; 10 + sha256 = "0diigllgni6m0sc2h8aid6hmyaq9qb54pm5305m0irfsm2j463v0"; 11 11 }; 12 12 13 - nativeBuildInputs = [ pkgconfig ]; 14 - buildInputs = [ 15 - intltool gobjectIntrospection libsoup libxslt check vala_0_23 13 + outputs = [ "out" "dev" "devdoc" ]; 14 + 15 + nativeBuildInputs = [ 16 + pkgconfig vala intltool gobjectIntrospection gtk_doc docbook_xsl 17 + ] ++ stdenv.lib.optionals doCheck checkInputs; 18 + checkInputs = [ check curl perl ]; 19 + buildInputs = [ glib libsoup libxml2 libxslt ]; 20 + 21 + patches = [ 22 + ./osinfo-db-data-dir.patch 16 23 ]; 17 24 25 + postPatch = '' 26 + patchShebangs . 27 + substituteInPlace osinfo/osinfo_loader.c --subst-var-by OSINFO_DB_DATA_DIR "${osinfo-db}/share" 28 + ''; 29 + 30 + configureFlags = [ 31 + "--with-usb-ids-path=${hwdata}/data/hwdata/usb.ids" 32 + "--with-pci-ids-path=${hwdata}/data/hwdata/pci.ids" 33 + "--enable-gtk-doc" 34 + ]; 35 + 36 + doCheck = true; 37 + 18 38 meta = with stdenv.lib; { 19 - description = "Info about OSs, hypervisors and (virtual) hardware devices"; 20 - homepage = http://libosinfo.org/; 39 + description = "GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support"; 40 + homepage = https://libosinfo.org/; 21 41 license = licenses.lgpl2Plus; 22 42 platforms = platforms.linux; 23 43 maintainers = [ maintainers.bjornfor ];
+11
pkgs/development/libraries/libosinfo/osinfo-db-data-dir.patch
··· 1 + --- a/osinfo/osinfo_loader.c 2 + +++ b/osinfo/osinfo_loader.c 3 + @@ -2304,7 +2304,7 @@ 4 + } else { 5 + path = g_getenv("OSINFO_SYSTEM_DIR"); 6 + if (!path) 7 + - path = DATA_DIR "/osinfo"; 8 + + path = "@OSINFO_DB_DATA_DIR@/osinfo"; 9 + 10 + file = g_file_new_for_path(path); 11 + }
+7 -7
pkgs/development/libraries/libskk/default.nix
··· 1 1 { stdenv, fetchurl, fetchFromGitHub, 2 - libtool, intltool, pkgconfig, 2 + libtool, gettext, pkgconfig, 3 3 vala, gnome_common, gobjectIntrospection, 4 - libgee_0_8, json_glib, skk-dicts }: 4 + libgee, json_glib, skk-dicts }: 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "libskk-${version}"; 8 - version = "1.0.2"; 8 + version = "1.0.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "ueno"; 12 12 repo = "libskk"; 13 - rev = "6a232e75de6d5dbe543ab17c9b85dc7560093509"; 14 - sha256 = "1xa9akf95jyi4laiw1llnjdpfq5skhidm7dnkd0i0ds6npzzqnxc"; 13 + rev = version; 14 + sha256 = "092bjir866f350s4prq9q0yg34s91vmr8wbgf2vh3kcax1yj1axm"; 15 15 }; 16 16 17 17 buildInputs = [ skk-dicts ]; 18 - nativeBuildInputs = [ vala gnome_common gobjectIntrospection libtool intltool pkgconfig ]; 19 - propagatedBuildInputs = [ libgee_0_8 json_glib ]; 18 + nativeBuildInputs = [ vala gnome_common gobjectIntrospection libtool gettext pkgconfig ]; 19 + propagatedBuildInputs = [ libgee json_glib ]; 20 20 21 21 preConfigure = '' 22 22 ./autogen.sh
-27
pkgs/development/libraries/libunity/default.nix
··· 1 - { stdenv, fetchurl, vala_0_23, python, intltool, pkgconfig 2 - , glib, libgee_0_6, gtk3, dee, libdbusmenu-glib 3 - }: 4 - 5 - stdenv.mkDerivation rec { 6 - name = "libunity-${version}"; 7 - version = "6.12.0"; 8 - 9 - src = fetchurl { 10 - url = "https://launchpad.net/libunity/6.0/${version}/+download/${name}.tar.gz"; 11 - sha256 = "1nadapl3390x98q1wv2yarh60hzi7ck0d1s8zz9xsiq3zz6msbjd"; 12 - }; 13 - 14 - buildInputs = [ glib libgee_0_6 gtk3 ]; 15 - propagatedBuildInputs = [ dee libdbusmenu-glib ]; 16 - nativeBuildInputs = [ vala_0_23 python intltool pkgconfig ]; 17 - 18 - enableParallelBuilding = true; 19 - 20 - meta = with stdenv.lib; { 21 - description = "A library for instrumenting- and integrating with all aspects of the Unity shell"; 22 - homepage = https://launchpad.net/libunity; 23 - license = licenses.lgpl3; 24 - platforms = platforms.linux; 25 - maintainers = with maintainers; [ abbradar ]; 26 - }; 27 - }
+3 -3
pkgs/development/tools/misc/gob2/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, glib, bison, flex }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "gob2-${minVer}.18"; 4 + name = "gob2-${minVer}.20"; 5 5 minVer = "2.0"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.gz"; 9 - sha256 = "1r242s3rsxyqiw2ic2gdpvvrx903jgjd1aa4mkl26in5k9zk76fa"; 8 + url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.xz"; 9 + sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428"; 10 10 }; 11 11 12 12 # configure script looks for d-bus but it is only needed for tests
+6 -11
pkgs/development/web/valum/default.nix
··· 1 - { stdenv, pkgconfig, fetchFromGitHub, python, glib, vala_0_28, ctpl 1 + { stdenv, meson, ninja, pkgconfig, fetchFromGitHub, glib, vala, ctpl 2 2 , libgee, libsoup, fcgi }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "valum-${version}"; 6 - version = "0.2.16"; 6 + version = "0.3.14"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "valum-framework"; 10 10 repo = "valum"; 11 11 rev = "v${version}"; 12 - sha256 = "0ca067gg5z1798bazwzgg2yd2mbysvk8i2q2v3i8d0d188y2hj84"; 12 + sha256 = "1w1mipczcfmrrxg369wvrj3wvf76rqn8rrkxbq88aial1bi23kd3"; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ python glib vala_0_28 ctpl libgee libsoup fcgi ]; 17 - 18 - configurePhase = ''python waf configure --prefix=$out''; 19 - 20 - buildPhase = ''python waf build''; 21 - 22 - installPhase = ''python waf install''; 15 + nativeBuildInputs = [ meson ninja pkgconfig ]; 16 + buildInputs = [ glib vala ctpl libgee libsoup fcgi ]; 23 17 24 18 meta = with stdenv.lib; { 25 19 homepage = https://github.com/valum-framework/valum; 26 20 description = "Web micro-framework written in Vala"; 21 + license = licenses.lgpl3; 27 22 platforms = platforms.linux; 28 23 maintainers = [ maintainers.lethalman ]; 29 24 };
+17 -24
pkgs/misc/seafile-shared/default.nix
··· 1 - {stdenv, fetchurl, which, automake, autoconf, pkgconfig, curl, libtool, vala_0_23, python, intltool, fuse, ccnet}: 1 + {stdenv, fetchurl, which, autoreconfHook, pkgconfig, curl, vala, python, intltool, fuse, ccnet}: 2 2 3 - stdenv.mkDerivation rec 4 - { 3 + stdenv.mkDerivation rec { 5 4 version = "6.1.0"; 6 5 name = "seafile-shared-${version}"; 7 6 8 - src = fetchurl 9 - { 7 + src = fetchurl { 10 8 url = "https://github.com/haiwen/seafile/archive/v${version}.tar.gz"; 11 9 sha256 = "03zvxk25311xgn383k54qvvpr8xbnl1vxd99fg4ca9yg5rmir1q6"; 12 10 }; 13 11 14 - nativeBuildInputs = [ pkgconfig ]; 15 - buildInputs = [ which automake autoconf libtool vala_0_23 python intltool fuse ]; 12 + nativeBuildInputs = [ pkgconfig which autoreconfHook vala intltool ]; 13 + buildInputs = [ python fuse ]; 16 14 propagatedBuildInputs = [ ccnet curl ]; 17 15 18 - preConfigure = '' 19 - sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh 20 - ./autogen.sh 21 - ''; 22 - 23 - configureFlags = "--disable-server --disable-console"; 24 - 25 - buildPhase = "make -j1"; 16 + configureFlags = [ 17 + "--disable-server" 18 + "--disable-console" 19 + ]; 26 20 27 21 postInstall = '' 28 - # Remove seafile binary 29 - rm -rf "$out/bin/seafile" 30 - # Remove cli client binary 31 - rm -rf "$out/bin/seaf-cli" 22 + # Remove seafile binary 23 + rm -rf "$out/bin/seafile" 24 + # Remove cli client binary 25 + rm -rf "$out/bin/seaf-cli" 32 26 ''; 33 27 34 - meta = 35 - { 28 + meta = with stdenv.lib; { 36 29 homepage = https://github.com/haiwen/seafile; 37 30 description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons"; 38 - license = stdenv.lib.licenses.gpl3; 39 - platforms = stdenv.lib.platforms.linux; 40 - maintainers = [ stdenv.lib.maintainers.calrama ]; 31 + license = licenses.gpl3; 32 + platforms = platforms.linux; 33 + maintainers = [ maintainers.calrama ]; 41 34 }; 42 35 }
+23
pkgs/tools/misc/osinfo-db-tools/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, glib, libxml2 2 + , libxslt, libarchive, bzip2, lzma 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "osinfo-db-tools-1.1.0"; 7 + 8 + src = fetchurl { 9 + url = "https://releases.pagure.org/libosinfo/${name}.tar.gz"; 10 + sha256 = "0sslzrbhpb2js1vn48c11s5p0bic3yqzdnxm054dhc3wq0pwshd1"; 11 + }; 12 + 13 + nativeBuildInputs = [ pkgconfig intltool ]; 14 + buildInputs = [ glib libxml2 libxslt libarchive bzip2 lzma ]; 15 + 16 + meta = with stdenv.lib; { 17 + description = "Tools for managing the osinfo database"; 18 + homepage = https://libosinfo.org/; 19 + license = licenses.lgpl2Plus; 20 + platforms = platforms.linux; 21 + maintainers = [ maintainers.bjornfor ]; 22 + }; 23 + }
+9 -20
pkgs/tools/networking/ccnet/default.nix
··· 1 - {stdenv, fetchurl, which, automake, autoconf, pkgconfig, libtool, vala_0_23, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}: 1 + {stdenv, fetchurl, which, autoreconfHook, pkgconfig, vala, python, libsearpc, libzdb, libuuid, libevent, sqlite, openssl}: 2 2 3 - stdenv.mkDerivation rec 4 - { 3 + stdenv.mkDerivation rec { 5 4 version = "6.1.0"; 6 5 seafileVersion = "6.1.0"; 7 6 name = "ccnet-${version}"; 8 7 9 - src = fetchurl 10 - { 8 + src = fetchurl { 11 9 url = "https://github.com/haiwen/ccnet/archive/v${version}.tar.gz"; 12 10 sha256 = "0q4a102xlcsxlr53h4jr4w8qzkbzvm2f3nk9fsha48h6l2hw34bb"; 13 11 }; 14 12 15 - nativeBuildInputs = [ pkgconfig ]; 16 - buildInputs = [ which automake autoconf libtool vala_0_23 python ]; 13 + nativeBuildInputs = [ pkgconfig which autoreconfHook vala python ]; 17 14 propagatedBuildInputs = [ libsearpc libzdb libuuid libevent sqlite openssl ]; 18 15 19 - preConfigure = '' 20 - sed -ie 's|/bin/bash|${stdenv.shell}|g' ./autogen.sh 21 - ./autogen.sh 22 - ''; 16 + configureFlags = [ "--enable-server" ]; 23 17 24 - configureFlags = "--enable-server"; 25 - 26 - buildPhase = "make -j1"; 27 - 28 - meta = 29 - { 18 + meta = with stdenv.lib; { 30 19 homepage = https://github.com/haiwen/ccnet; 31 20 description = "A framework for writing networked applications in C"; 32 - license = stdenv.lib.licenses.gpl3Plus; 33 - platforms = stdenv.lib.platforms.linux; 34 - maintainers = [ stdenv.lib.maintainers.calrama ]; 21 + license = licenses.gpl3Plus; 22 + platforms = platforms.linux; 23 + maintainers = [ maintainers.calrama ]; 35 24 }; 36 25 }
+38
pkgs/tools/networking/zssh/default.nix
··· 1 + { stdenv, fetchurl, readline, deepin-terminal }: 2 + 3 + let 4 + version = "1.5c"; 5 + in stdenv.mkDerivation rec { 6 + name = "zssh-${version}"; 7 + 8 + src = fetchurl { 9 + url = "mirror://sourceforge/zssh/${name}.tgz"; 10 + sha256 = "06z73iq59lz8ibjrgs7d3xl39vh9yld1988yx8khssch4pw41s52"; 11 + }; 12 + 13 + buildInputs = [ readline ]; 14 + 15 + patches = [ 16 + # Cargo-culted from Arch, returns “out of pty's” without it 17 + (fetchurl { 18 + name = "fix_use_ptmx_on_arch.patch"; 19 + url = https://git.archlinux.org/svntogit/community.git/plain/trunk/fix_use_ptmx_on_arch.patch?h=packages/zssh&id=0a7c92543f9309856d02e31196f06d7c3eaa8b67; 20 + sha256 = "12daw9wpy58ql882zww945wk9cg2adwp8qsr5rvazx0xq0qawgbr"; 21 + }) 22 + ]; 23 + 24 + patchFlags = [ "-p0" ]; 25 + 26 + # The makefile does not create the directories 27 + postBuild = '' 28 + install -dm755 "$out"/{bin,man/man1} 29 + ''; 30 + 31 + meta = { 32 + description = "SSH and Telnet client with ZMODEM file transfer capability"; 33 + homepage = http://zssh.sourceforge.net/; 34 + license = stdenv.lib.licenses.gpl2; 35 + maintainers = deepin-terminal.meta.maintainers; # required by deepin-terminal 36 + platforms = stdenv.lib.platforms.linux; 37 + }; 38 + }
+2 -2
pkgs/tools/security/gencfsm/default.nix
··· 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - version = "1.8.18"; 6 + version = "1.8.19"; 7 7 name = "gnome-encfs-manager-${version}"; 8 8 9 9 src = fetchurl { 10 10 url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.xz"; 11 - sha256 = "1rpf683lxa78fmxxb0hnq7vdh3yn7qid2gqq67q9mk65sp9vdhdj"; 11 + sha256 = "1h6x8dyp1fvxvr8fwki98ppf4sa20qf7g59jc9797b2vrgm60h1i"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkgconfig ];
+7 -9
pkgs/top-level/all-packages.nix
··· 1128 1128 1129 1129 geekbench = callPackage ../tools/misc/geekbench { }; 1130 1130 1131 - gencfsm = callPackage ../tools/security/gencfsm { 1132 - vala = vala_0_34; 1133 - }; 1131 + gencfsm = callPackage ../tools/security/gencfsm { }; 1134 1132 1135 1133 genromfs = callPackage ../tools/filesystems/genromfs { }; 1136 1134 ··· 1533 1531 libpinyin = callPackage ../development/libraries/libpinyin { }; 1534 1532 1535 1533 libskk = callPackage ../development/libraries/libskk { 1536 - gnome_common = gnome3.gnome_common; 1537 - vala = vala_0_34; 1534 + inherit (gnome3) gnome_common libgee; 1538 1535 }; 1539 1536 1540 1537 m17n_db = callPackage ../tools/inputmethods/m17n-db { }; ··· 5398 5395 5399 5396 zsh-command-time = callPackage ../shells/zsh-command-time { }; 5400 5397 5398 + zssh = callPackage ../tools/networking/zssh { }; 5399 + 5401 5400 zstd = callPackage ../tools/compression/zstd { }; 5402 5401 zstdmt = callPackage ../tools/compression/zstdmt { }; 5403 5402 ··· 6457 6456 urweb = callPackage ../development/compilers/urweb { }; 6458 6457 6459 6458 inherit (callPackage ../development/compilers/vala { }) 6460 - vala_0_23 6461 6459 vala_0_26 6462 6460 vala_0_28 6463 6461 vala_0_32 ··· 9803 9801 9804 9802 libui = callPackage ../development/libraries/libui { }; 9805 9803 9806 - libunity = callPackage ../development/libraries/libunity { }; 9807 - 9808 9804 libunistring = callPackage ../development/libraries/libunistring { }; 9809 9805 9810 9806 libupnp = callPackage ../development/libraries/pupnp { }; ··· 10320 10316 openrct2 = callPackage ../games/openrct2/default.nix { }; 10321 10317 10322 10318 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; 10319 + 10320 + osinfo-db = callPackage ../data/misc/osinfo-db { }; 10321 + osinfo-db-tools = callPackage ../tools/misc/osinfo-db-tools { }; 10323 10322 10324 10323 p11_kit = callPackage ../development/libraries/p11-kit { }; 10325 10324 ··· 17055 17054 deepin-terminal = callPackage ../applications/misc/deepin-terminal { 17056 17055 inherit (gnome3) libgee vte; 17057 17056 wnck = libwnck3; 17058 - vala = vala_0_34; 17059 17057 }; 17060 17058 17061 17059 termite = callPackage ../applications/misc/termite {