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 ]; }; }