Skip to content

Commit

Permalink
treewide: use nix-update updateScript for packages I maintain
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Jul 29, 2020
1 parent 9b97ee7 commit d12c11e
Show file tree
Hide file tree
Showing 114 changed files with 272 additions and 494 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/audio/lollypop/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, fetchgit
, nix-update-script
, meson
, ninja
, pkgconfig
Expand Down Expand Up @@ -91,6 +92,13 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};


meta = with lib; {
changelog = "https://gitlab.gnome.org/World/lollypop/tags/${version}";
description = "A modern music player for GNOME";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/audio/vocal/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, cmake
, ninja
, vala
Expand Down Expand Up @@ -61,7 +62,7 @@ stdenv.mkDerivation rec {
];

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
8 changes: 8 additions & 0 deletions pkgs/applications/display-managers/lightdm/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, substituteAll
, plymouth
, pam
Expand Down Expand Up @@ -127,6 +128,13 @@ stdenv.mkDerivation rec {
rm -rf $out/etc/apparmor.d $out/etc/init $out/etc/pam.d
'';

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};


meta = {
homepage = "https://github.com/CanonicalLtd/lightdm";
description = "A cross-desktop display manager";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/quilter/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, vala
{ stdenv, fetchFromGitHub, nix-update-script, pkgconfig, meson, ninja, python3, vala
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
, libgee, discount, wrapGAppsHook }:

Expand Down Expand Up @@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/fondo/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, pantheon
, vala
, pkgconfig
Expand Down Expand Up @@ -57,7 +58,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/graphics/ideogram/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
, vala
, pkgconfig
Expand Down Expand Up @@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/appeditor/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, vala
, meson
, ninja
Expand Down Expand Up @@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/cipher/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, vala
Expand Down Expand Up @@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/formatter/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, vala
Expand Down Expand Up @@ -62,7 +63,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/notejot/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, vala, pkgconfig, meson, ninja, python3, pantheon
{ stdenv, fetchFromGitHub, nix-update-script, vala, pkgconfig, meson, ninja, python3, pantheon
, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/olifant/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
, vala
, meson
Expand Down Expand Up @@ -54,7 +55,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/sequeler/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub
{ stdenv, fetchFromGitHub, nix-update-script
, vala, meson, ninja, pkgconfig, pantheon, gettext, wrapGAppsHook, python3, desktop-file-utils
, gtk3, glib, libgee, libgda, gtksourceview, libxml2, libsecret, libssh2 }:

Expand Down Expand Up @@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/tootle/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
, vala
, meson
Expand Down Expand Up @@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
8 changes: 8 additions & 0 deletions pkgs/applications/misc/ulauncher/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchurl
, nix-update-script
, python3Packages
, gdk-pixbuf
, glib
Expand Down Expand Up @@ -103,6 +104,13 @@ python3Packages.buildPythonApplication rec {
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ wmctrl ]}")
'';

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};


meta = with stdenv.lib; {
description = "A fast application launcher for Linux, written in Python, using GTK";
homepage = "https://ulauncher.io/";
Expand Down
9 changes: 8 additions & 1 deletion pkgs/applications/networking/browsers/eolie/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchgit, meson, ninja, pkgconfig
{ stdenv, fetchgit, meson, ninja, pkgconfig, nix-update-script
, python3, gtk3, libsecret, gst_all_1, webkitgtk
, glib-networking, gtkspell3, hunspell, desktop-file-utils
, gobject-introspection, wrapGAppsHook }:
Expand Down Expand Up @@ -57,6 +57,13 @@ python3.pkgs.buildPythonApplication rec {
patchPythonScript "$out/libexec/eolie-sp"
'';

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};


meta = with stdenv.lib; {
description = "A new GNOME web browser";
homepage = "https://wiki.gnome.org/Apps/Eolie";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/networking/browsers/ephemeral/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, desktop-file-utils
, vala
, gettext
Expand Down Expand Up @@ -55,7 +56,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, vala, gettext, python3
{ stdenv, fetchFromGitHub, nix-update-script, meson, ninja, pkgconfig, vala, gettext, python3
, appstream-glib, desktop-file-utils, wrapGAppsHook, gnome-online-accounts
, gtk3, libgee, libpeas, librest, webkitgtk, gsettings-desktop-schemas, pantheon
, curl, glib, gnome3, gst_all_1, json-glib, libnotify, libsecret, sqlite, gumbo, libxml2
Expand Down Expand Up @@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/ftp/taxi/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, vala
{ stdenv, fetchFromGitHub, nix-update-script, pantheon, pkgconfig, meson, ninja, python3, vala
, gtk3, libgee, libsoup, libsecret, gobject-introspection, wrapGAppsHook }:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitLab
, nix-update-script
, fetchpatch
, meson
, ninja
Expand Down Expand Up @@ -78,6 +79,12 @@ rustPlatform.buildRustPackage rec {
checkPhase = null;
installPhase = null;

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};

meta = with stdenv.lib; {
description = "Matrix group messaging app";
homepage = "https://gitlab.gnome.org/GNOME/fractal";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/networking/p2p/torrential/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, cmake
, pkgconfig
, vala_0_40
Expand Down Expand Up @@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
];

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/networking/ping/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, nix-update-script
, meson
, ninja
, vala
Expand Down Expand Up @@ -52,7 +53,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
9 changes: 8 additions & 1 deletion pkgs/applications/networking/weather/meteo/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, gtk3
, json-glib, libsoup, webkitgtk, geocode-glib
, json-glib, libsoup, webkitgtk, geocode-glib, nix-update-script
, libappindicator, desktop-file-utils, appstream, wrapGAppsHook }:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -38,6 +38,13 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';

passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};


meta = with stdenv.lib; {
description = "Know the forecast of the next hours & days";
homepage = "https://gitlab.com/bitseater/meteo";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/office/aesop/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, vala, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, gtk3
{ stdenv, vala, fetchFromGitHub, nix-update-script, pantheon, pkgconfig, meson, ninja, python3, gtk3
, desktop-file-utils, json-glib, libsoup, libgee, poppler, wrapGAppsHook, fetchpatch }:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
'';

passthru = {
updateScript = pantheon.updateScript {
updateScript = nix-update-script {
attrPath = pname;
};
};
Expand Down
Loading

0 comments on commit d12c11e

Please sign in to comment.