From a46a4fcb61ba7dba56ccd98227ec1f6ec1b09b4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 15 May 2025 11:06:00 -0700 Subject: [PATCH] python3Packages.pybrowsers: 0.9.0 -> 1.1.0 Diff: https://github.com/roniemartinez/browsers/compare/refs/tags/0.9.0...refs/tags/1.1.0 Changelog: https://github.com/roniemartinez/browsers/releases/tag/1.1.0 --- .../python-modules/pybrowsers/default.nix | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/pybrowsers/default.nix b/pkgs/development/python-modules/pybrowsers/default.nix index bd5ddf97a43a..6398d0ded602 100644 --- a/pkgs/development/python-modules/pybrowsers/default.nix +++ b/pkgs/development/python-modules/pybrowsers/default.nix @@ -3,42 +3,32 @@ buildPythonPackage, fetchFromGitHub, poetry-core, - pythonOlder, - pyxdg, }: buildPythonPackage rec { pname = "pybrowsers"; - version = "0.9.0"; + version = "1.1.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "roniemartinez"; repo = "browsers"; tag = version; - hash = "sha256-lL5oSz+T5HWxipwEaff+OM5lij3WUvuIpsVCv6dHWhk="; + hash = "sha256-9YO/FTgL/BzabPnpi2RM/C08F7/d6FNshWnGsT6NQlg="; }; - postPatch = '' - sed -i "/--cov/d" pyproject.toml - ''; - - nativeBuildInputs = [ poetry-core ]; - - propagatedBuildInputs = [ pyxdg ]; + build-system = [ poetry-core ]; # Tests want to interact with actual browsers doCheck = false; pythonImportsCheck = [ "browsers" ]; - meta = with lib; { + meta = { description = "Python library for detecting and launching browsers"; homepage = "https://github.com/roniemartinez/browsers"; changelog = "https://github.com/roniemartinez/browsers/releases/tag/${src.tag}"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }