summary refs log tree commit diff
path: root/pkgs/misc/autotiling
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-06-01 03:24:16 +0300
committerArtturin <Artturin@artturin.com>2021-06-01 04:09:16 +0300
commit8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9 (patch)
treed80a4d4c9b93d78d987e97844292701a20a31c14 /pkgs/misc/autotiling
parent9b4ee111e66b406156755e7be65ac306d3ddade3 (diff)
downloadnixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar.gz
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar.bz2
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar.lz
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar.xz
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.tar.zst
nixpkgs-8c80185fdef57b91892d9d8cdc804bf5dd7c2cd9.zip
autotiling: 1.1 -> 1.5
Diffstat (limited to 'pkgs/misc/autotiling')
-rw-r--r--pkgs/misc/autotiling/default.nix14
1 files 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 ];
   };
 }