diff options
author | Kosyrev Serge <_deepfire@feelingofgreen.ru> | 2014-06-15 02:56:10 +0400 |
---|---|---|
committer | Kosyrev Serge <_deepfire@feelingofgreen.ru> | 2014-06-15 14:10:35 +0400 |
commit | eda6fd83a8141a3e35ec63630c5b2c96fe25bbed (patch) | |
tree | aa72bdb99721bf5b38df3fb0d7eec72e0c843587 /pkgs/tools/X11/xtrace | |
parent | 658d1f656a83cc39033547e28a981227e3501e81 (diff) |
xtrace: fix build and update to 1.3.1
Alioth now requires a login before you can download tarballs.
Diffstat (limited to 'pkgs/tools/X11/xtrace')
-rw-r--r-- | pkgs/tools/X11/xtrace/default.nix | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/tools/X11/xtrace/default.nix b/pkgs/tools/X11/xtrace/default.nix index 56f33e8330d3..c9f41b68446a 100644 --- a/pkgs/tools/X11/xtrace/default.nix +++ b/pkgs/tools/X11/xtrace/default.nix @@ -1,14 +1,19 @@ -{ stdenv, fetchurl, libX11, xauth, makeWrapper }: +{ stdenv, autoreconfHook, fetchgit, libX11, xauth, makeWrapper }: -let version = "1.0.2"; in +let version = "1.3.1"; in stdenv.mkDerivation { name = "xtrace-${version}"; - src = fetchurl { - url = "https://alioth.debian.org/frs/download.php/3201/xtrace_${version}.orig.tar.gz"; - sha256 = "0czywk2iwj9vifml0qjlbz8n9jnqjsm4zz22haii82bf4l5w3y04"; + src = fetchgit { + url = "git://git.debian.org/xtrace/xtrace.git"; + rev = "refs/tags/xtrace-1.3.1"; + sha256 = "0csjw88ynzzcmx1jlb65c74r2sp9dzxn00airsxxfsipb74049d0"; }; - buildInputs = [ libX11 makeWrapper ]; + buildInputs = [ libX11 makeWrapper autoreconfHook ]; + + preConfigure = '' + ./autogen.sh + ''; postInstall = '' wrapProgram "$out/bin/xtrace" \ |