diff options
Diffstat (limited to 'pkgs/by-name/py/pyprland/package.nix')
-rw-r--r-- | pkgs/by-name/py/pyprland/package.nix | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/pkgs/by-name/py/pyprland/package.nix b/pkgs/by-name/py/pyprland/package.nix index 309f680751f76..9162724b7a758 100644 --- a/pkgs/by-name/py/pyprland/package.nix +++ b/pkgs/by-name/py/pyprland/package.nix @@ -1,8 +1,13 @@ -{ lib, fetchFromGitHub, python3Packages }: +{ + lib, + fetchFromGitHub, + python3Packages, + nix-update-script, +}: python3Packages.buildPythonApplication rec { pname = "pyprland"; - version = "2.2.15"; + version = "2.3.8"; format = "pyproject"; disabled = python3Packages.pythonOlder "3.10"; @@ -10,8 +15,8 @@ python3Packages.buildPythonApplication rec { src = fetchFromGitHub { owner = "hyprland-community"; repo = "pyprland"; - rev = version; - hash = "sha256-ju/Xa3s0engE09q9EtKK/zhgimMmlTPXJrpwWQqUFLs="; + rev = "refs/tags/${version}"; + hash = "sha256-0YUI2/gJmBoummiHGpq2p2sT25SwCdnsRwfGK2pcm4s="; }; nativeBuildInputs = with python3Packages; [ poetry-core ]; @@ -53,12 +58,17 @@ python3Packages.buildPythonApplication rec { "pyprland.plugins.workspaces_follow_focus" ]; + passthru.updateScript = nix-update-script {}; + meta = { mainProgram = "pypr"; - description = "An hyperland plugin system"; + description = "Hyperland plugin system"; homepage = "https://github.com/hyprland-community/pyprland"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ iliayar johnrtitor ]; + maintainers = with lib.maintainers; [ + iliayar + johnrtitor + ]; platforms = lib.platforms.linux; }; } |