diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 664c50dd5794..a1a61f97e299 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -188,6 +188,7 @@ gridaphobe = "Eric Seidel "; guibert = "David Guibert "; guillaumekoenig = "Guillaume Koenig "; + guyonvarch = "Joris Guyonvarch "; hakuch = "Jesse Haber-Kucharsky "; havvy = "Ryan Scheel "; hbunke = "Hendrik Bunke "; 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f1882397933b..48cf5d105bd0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6958,6 +6958,8 @@ in fcgi = callPackage ../development/libraries/fcgi { }; + ffcast = callPackage ../tools/X11/ffcast { }; + fflas-ffpack = callPackage ../development/libraries/fflas-ffpack {}; fflas-ffpack_1 = callPackage ../development/libraries/fflas-ffpack/1.nix {};