diff options
author | Joris Guyonvarch <joris@guyonvarch.me> | 2017-01-09 06:07:25 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-01-09 06:07:25 +0100 |
commit | 1603526000c2f5db86e018041677cfa80b4885a1 (patch) | |
tree | 1cb20a64a96f9362fc4ec6ffc39c7d16d3e2f886 /pkgs/tools/X11/ffcast | |
parent | 917e67f15fbe5890dcabe66a13b8f627bd12459b (diff) |
xrectsel: init at 0.3.2 (#21153)
Diffstat (limited to 'pkgs/tools/X11/ffcast')
-rw-r--r-- | pkgs/tools/X11/ffcast/default.nix | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/pkgs/tools/X11/ffcast/default.nix b/pkgs/tools/X11/ffcast/default.nix index 936805ed17ca..1e1e3f888c99 100644 --- a/pkgs/tools/X11/ffcast/default.nix +++ b/pkgs/tools/X11/ffcast/default.nix @@ -1,22 +1,20 @@ -{ stdenv, fetchgit, autoconf, automake, perl, libX11 }: +{ stdenv, fetchFromGitHub, autoreconfHook, perl, libX11 }: stdenv.mkDerivation rec { name = "ffcast-${version}"; version = "2.5.0"; - rev = "7c3bf681e7ca9b242e55dbf0c07856ed994d94e9"; - src = fetchgit { - url = https://github.com/lolilolicon/FFcast; - sha256 = "1s1y6rqjq126jvdzc75wz20szisbz8h8fkphlwxcxzl9xll17akj"; + src = fetchFromGitHub { + owner = "lolilolicon"; + repo = "FFcast"; + rev = "${version}"; + sha256 = "047y32bixhc8ksr98vwpgd0k1xxgsv2vs0n3kc2xdac4krc9454h"; }; - buildInputs = [ autoconf automake perl libX11 ]; + nativeBuildInputs = [ autoreconfHook ]; + buildInputs = [ perl libX11 ]; - preConfigure = '' - ./bootstrap - ''; - - configureFlags = [ "--enable-xrectsel" ]; + configureFlags = [ "--disable-xrectsel" ]; postBuild = '' make DESTDIR="$out" install |