Unverified Commit c1bea852 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

python3Packages.desktop-notifier: 6.0.0 -> 6.1.0 (#398514)

parents 1311b95b 0af910d6
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  stdenv,
  fetchFromGitHub,
  setuptools,
  bidict,
  packaging,
  setuptools,
  typing-extensions,
  dbus-fast,
  rubicon-objc,
}:

buildPythonPackage rec {
  pname = "desktop-notifier";
  version = "6.0.0";
  version = "6.1.0";
  pyproject = true;

  disabled = pythonOlder "3.7";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "SamSchott";
    repo = "desktop-notifier";
    tag = "v${version}";
    hash = "sha256-HynREkiPxv/1y1/ICVwqANIe9tAkIvdpDy4oXxQarec=";
    hash = "sha256-cSeEekjX9NeoEoe9mDokCanK5zrawyvdHK1c4RJ9kSk=";
  };

  build-system = [ setuptools ];
@@ -31,6 +32,7 @@ buildPythonPackage rec {
    [
      bidict
      packaging
      typing-extensions
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [ dbus-fast ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [ rubicon-objc ];
@@ -40,11 +42,11 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "desktop_notifier" ];

  meta = with lib; {
  meta = {
    description = "Python library for cross-platform desktop notifications";
    homepage = "https://github.com/samschott/desktop-notifier";
    changelog = "https://github.com/samschott/desktop-notifier/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ sfrijters ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sfrijters ];
  };
}