about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-07-23 21:10:17 +0200
committerGitHub <noreply@github.com>2022-07-23 21:10:17 +0200
commit00977a98042d44a47a5ab57ef4f450e5a8848e4e (patch)
tree332b8badbb299d652074030ca362f5ffe8cb4641
parentde26444fe453dad1fc5748e047e288e1c36622b4 (diff)
parent83e1754b23c3f9561a0753fc3a9d84d0549a0f8a (diff)
Merge pull request #182537 from dit7ya/autotiling-rs
autotiling-rs: init at 0.1.3
-rw-r--r--pkgs/misc/autotiling-rs/default.nix23
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/misc/autotiling-rs/default.nix b/pkgs/misc/autotiling-rs/default.nix
new file mode 100644
index 0000000000000..6e0ffebf03235
--- /dev/null
+++ b/pkgs/misc/autotiling-rs/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "autotiling-rs";
+  version = "0.1.3";
+
+  src = fetchFromGitHub {
+    owner = "ammgws";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-LQbmF2M6pWa0QEbKF770x8TFLMGrJeq5HnXHvLrDDPA=";
+  };
+
+  cargoHash = "sha256-wot5GKBA2TBrA/jnWD0eypPRqUodmk/TJlYJMl3/gm4=";
+
+  meta = with lib; {
+    description = "Autotiling for sway (and possibly i3)";
+    homepage = "https://github.com/ammgws/autotiling-rs";
+    license = licenses.mit;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ dit7ya ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4f08816c0ba8a..d7ff1fef473bc 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -34498,6 +34498,8 @@ with pkgs;
 
   autotiling = python3Packages.callPackage ../misc/autotiling { };
 
+  autotiling-rs = callPackage ../misc/autotiling-rs { };
+
   avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { };
 
   beep = callPackage ../misc/beep { };