From 8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 1 Jun 2021 03:24:16 +0300 Subject: [PATCH] autotiling: 1.1 -> 1.5 --- pkgs/misc/autotiling/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/misc/autotiling/default.nix b/pkgs/misc/autotiling/default.nix index b104f359363..56e607c9d60 100644 --- a/pkgs/misc/autotiling/default.nix +++ b/pkgs/misc/autotiling/default.nix @@ -1,12 +1,14 @@ -{ lib, buildPythonApplication, fetchPypi, i3ipc, importlib-metadata }: +{ lib, buildPythonApplication, fetchFromGitHub, i3ipc, importlib-metadata }: buildPythonApplication rec { pname = "autotiling"; - version = "1.1"; + version = "1.5"; - src = fetchPypi { - inherit pname version; - sha256 = "0hwvy9bxwv9fakqqiyrkmpckxgm0z85c240p84ibdhja9sm086v0"; + src = fetchFromGitHub { + owner = "nwg-piotr"; + repo = pname; + rev = "v${version}"; + sha256 = "0ih8yd1gankjxn88gd88vxs6f1cniyi04z25jz4nsgqi9snz65v4"; }; propagatedBuildInputs = [ i3ipc importlib-metadata ]; @@ -16,7 +18,7 @@ buildPythonApplication rec { homepage = "https://github.com/nwg-piotr/autotiling"; description = "Script for sway and i3 to automatically switch the horizontal / vertical window split orientation"; license = licenses.gpl3Plus; - platforms= platforms.linux; + platforms = platforms.linux; maintainers = with maintainers; [ artturin ]; }; }