mobile-broadband-provider-info: add updateScript

This commit is contained in:
Jan Tojnar 2018-08-25 23:42:57 +02:00
parent 4c4ad72a43
commit 666f581be8
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,23 +1,25 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, gnome3 }:
let
version = "20190116";
pname = "mobile-broadband-provider-info";
name = "${pname}-${version}";
in
stdenv.mkDerivation rec {
inherit name;
pname = "mobile-broadband-provider-info";
version = "20190116";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "16y5lc7pfdvai9c8xwb825zc3v46039gghbip13fqslf5gw11fic";
};
meta = {
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "Mobile broadband service provider database";
homepage = http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.publicDomain;
homepage = https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders;
license = licenses.publicDomain;
maintainers = [ ];
platforms = platforms.all;
};
}