Unverified Commit 01a7c396 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wike: 3.1.1 -> 3.1.3; refactor (#462121)

parents 2c6eacb7 8384a02b
Loading
Loading
Loading
Loading
+12 −14
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  python3,
  python3Packages,
  meson,
  ninja,
  pkg-config,
  pkgsCross,
  appstream-glib,
  desktop-file-utils,
  gobject-introspection,
@@ -19,16 +18,16 @@
  nix-update-script,
}:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "wike";
  version = "3.1.1";
  format = "other";
  version = "3.1.3";
  pyproject = false; # built with meson

  src = fetchFromGitHub {
    owner = "hugolabe";
    repo = "Wike";
    rev = version;
    hash = "sha256-Unw+r8NlfaSn/UCtdnkCCsC6xM33Qy6hQdUg/4bIG+I=";
    tag = version;
    hash = "sha256-+N9yhzIErFc0z/2JqEtit02GZKqo11viGCLoyQxtxBU=";
  };

  nativeBuildInputs = [
@@ -50,7 +49,7 @@ python3.pkgs.buildPythonApplication rec {
    webkitgtk_6_0
  ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3Packages; [
    requests
    pygobject3
  ];
@@ -64,17 +63,16 @@ python3.pkgs.buildPythonApplication rec {
  '';

  passthru = {
    tests.cross = pkgsCross.aarch64-multiplatform.wike;
    updateScript = nix-update-script { };
  };

  meta = with lib; {
  meta = {
    description = "Wikipedia Reader for the GNOME Desktop";
    homepage = "https://github.com/hugolabe/Wike";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ samalws ];
    teams = [ teams.gnome-circle ];
    license = lib.licenses.gpl3Plus;
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [ samalws ];
    teams = [ lib.teams.gnome-circle ];
    mainProgram = "wike";
  };
}