summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/X11/ffcast
diff options
context:
space:
mode:
authorJoris Guyonvarch <joris@guyonvarch.me>2016-12-14 15:22:00 +0100
committerzimbatm <zimbatm@zimbatm.com>2016-12-14 14:22:00 +0000
commit4d2406c7d5b49632b390cc3bb4f41c99a0c330d9 (patch)
treedf4ba7b48bdbc9dc549508fe614605fcd36aa754 /pkgs/tools/X11/ffcast
parent88f53c989e8aa92f2b5bebb4af7e37470445d838 (diff)
ffcast: init at 2.5.0 (#21141)
Diffstat (limited to 'pkgs/tools/X11/ffcast')
-rw-r--r--pkgs/tools/X11/ffcast/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/X11/ffcast/default.nix b/pkgs/tools/X11/ffcast/default.nix
new file mode 100644
index 000000000000..936805ed17ca
--- /dev/null
+++ b/pkgs/tools/X11/ffcast/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchgit, autoconf, automake, perl, libX11 }:
+
+stdenv.mkDerivation rec {
+ name = "ffcast-${version}";
+ version = "2.5.0";
+ rev = "7c3bf681e7ca9b242e55dbf0c07856ed994d94e9";
+
+ src = fetchgit {
+ url = https://github.com/lolilolicon/FFcast;
+ sha256 = "1s1y6rqjq126jvdzc75wz20szisbz8h8fkphlwxcxzl9xll17akj";
+ };
+
+ buildInputs = [ autoconf automake perl libX11 ];
+
+ preConfigure = ''
+ ./bootstrap
+ '';
+
+ configureFlags = [ "--enable-xrectsel" ];
+
+ postBuild = ''
+ make DESTDIR="$out" install
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Run commands on rectangular screen regions";
+ homepage = https://github.com/lolilolicon/FFcast;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.guyonvarch ];
+ platforms = platforms.linux;
+ };
+}