summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorJohannes Frankenau <johannes@frankenau.net>2018-11-10 12:04:53 +0100
committerJohannes Frankenau <johannes@frankenau.net>2018-11-10 17:30:00 +0100
commitdc14808c09d1857f88b2e9ec0e30aa12fae02e61 (patch)
tree83bed31590fbe966137d7c1b7359dbdea060bc91 /pkgs/tools/inputmethods
parent78090f4f094f6d551b07a767fff60ce10f221d72 (diff)
downloadnixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar.gz
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar.bz2
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar.lz
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar.xz
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.tar.zst
nixpkgs-dc14808c09d1857f88b2e9ec0e30aa12fae02e61.zip
fusuma: init at 0.10.2
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/fusuma/Gemfile2
-rw-r--r--pkgs/tools/inputmethods/fusuma/Gemfile.lock13
-rw-r--r--pkgs/tools/inputmethods/fusuma/default.nix22
-rw-r--r--pkgs/tools/inputmethods/fusuma/gemset.nix10
4 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fusuma/Gemfile b/pkgs/tools/inputmethods/fusuma/Gemfile
new file mode 100644
index 00000000000..9aa2c3ac71a
--- /dev/null
+++ b/pkgs/tools/inputmethods/fusuma/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem "fusuma"
diff --git a/pkgs/tools/inputmethods/fusuma/Gemfile.lock b/pkgs/tools/inputmethods/fusuma/Gemfile.lock
new file mode 100644
index 00000000000..4038b50b44f
--- /dev/null
+++ b/pkgs/tools/inputmethods/fusuma/Gemfile.lock
@@ -0,0 +1,13 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    fusuma (0.10.2)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  fusuma
+
+BUNDLED WITH
+   1.16.3
diff --git a/pkgs/tools/inputmethods/fusuma/default.nix b/pkgs/tools/inputmethods/fusuma/default.nix
new file mode 100644
index 00000000000..2630ab0fc81
--- /dev/null
+++ b/pkgs/tools/inputmethods/fusuma/default.nix
@@ -0,0 +1,22 @@
+{ lib, bundlerApp, makeWrapper, libinput }:
+
+bundlerApp {
+  pname = "fusuma";
+  gemdir = ./.;
+  exes = [ "fusuma" ];
+
+  buildInputs = [ makeWrapper ];
+
+  postBuild = ''
+    wrapProgram "$out/bin/fusuma" \
+      --prefix PATH : ${lib.makeBinPath [ libinput ]}
+  '';
+
+  meta = with lib; {
+    description = "Multitouch gestures with libinput driver on X11, Linux";
+    homepage    = https://github.com/iberianpig/fusuma;
+    license     = licenses.mit;
+    maintainers = with maintainers; [ jfrankenau ];
+    platforms   = platforms.linux;
+  };
+}
diff --git a/pkgs/tools/inputmethods/fusuma/gemset.nix b/pkgs/tools/inputmethods/fusuma/gemset.nix
new file mode 100644
index 00000000000..2edf9c0886f
--- /dev/null
+++ b/pkgs/tools/inputmethods/fusuma/gemset.nix
@@ -0,0 +1,10 @@
+{
+  fusuma = {
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0hj64kafxj29gk53vj2syhs3vdywl3h9cpiknaqqm4srjx9g04a0";
+      type = "gem";
+    };
+    version = "0.10.2";
+  };
+}
\ No newline at end of file