depot/third_party/nixpkgs/pkgs/data/misc/mobile-broadband-provider-info/default.nix

31 lines
782 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, gnome, libxslt }:
stdenv.mkDerivation rec {
pname = "mobile-broadband-provider-info";
version = "20220511";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-dfk+iGZh8DWYMsPigjyvqG505AgEJbjOCpw7DQqyp3Q=";
};
nativeBuildInputs = [
# fixes configure: error: xsltproc not found
libxslt
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
meta = with lib; {
description = "Mobile broadband service provider database";
homepage = "https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders";
license = licenses.publicDomain;
maintainers = [ ];
platforms = platforms.all;
};
}