about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorIlan Joselevich <personal@ilanjoselevich.com>2023-03-25 22:26:35 +0300
committerGitHub <noreply@github.com>2023-03-25 22:26:35 +0300
commitef51ad5542a7af67daf96b16cd024c95f50f0b63 (patch)
treef5290eb6f128dd9416a82ac111a9a1bf4b00552b /pkgs/applications
parente54bcd426afb3557e3a66b6eebdd89d08060b57c (diff)
parent532a2b35ed4341c24d5b2cf7507d6c97b97be499 (diff)
Merge pull request #222509 from pinpox/river-luatile
river-luatile: init at v0.1.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/river-luatile/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/misc/river-luatile/default.nix b/pkgs/applications/misc/river-luatile/default.nix
new file mode 100644
index 0000000000000..6d803490564ab
--- /dev/null
+++ b/pkgs/applications/misc/river-luatile/default.nix
@@ -0,0 +1,36 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+, pkg-config
+, luajit
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "river-luatile";
+  version = "0.1.1";
+
+  src = fetchFromGitHub {
+    owner = "MaxVerevkin";
+    repo = "river-luatile";
+    rev = "v${version}";
+    hash = "sha256-eZgoFbat7X/jh5udlNyIuTheBUCHpaVRbsojYLATO18=";
+  };
+
+  cargoHash = "sha256-Vqyt5bL1lVhy/Wxd+zF7Wugvb7dW1N9Kq2TTFSaodnE=";
+
+  nativeBuildInputs = [
+    pkg-config
+  ];
+
+  buildInputs = [
+    luajit
+  ];
+
+  meta = with lib; {
+    description = "Write your own river layout generator in lua";
+    homepage = "https://github.com/MaxVerevkin/river-luatile";
+    license = licenses.gpl3Only;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ pinpox ];
+  };
+}