xtrace: 1.3.1 -> 1.4.0

This commit is contained in:
Guillaume Maudoux 2019-06-20 23:40:01 +02:00 committed by worldofpeace
parent ac28607a03
commit 9472a2ea45

View File

@ -1,31 +1,30 @@
{ stdenv, autoreconfHook, fetchgit, libX11, xauth, makeWrapper }: { stdenv, autoreconfHook, fetchFromGitLab, libX11, xauth, makeWrapper }:
let version = "1.3.1"; in stdenv.mkDerivation rec {
stdenv.mkDerivation { pname = "xtrace";
name = "xtrace-${version}"; version = "1.4.0";
src = fetchgit {
url = "git://git.debian.org/xtrace/xtrace.git"; src = fetchFromGitLab rec {
rev = "refs/tags/xtrace-1.3.1"; domain = "salsa.debian.org";
sha256 = "1g26hr6rl7bbb9cwqk606nbbapslq3wnsy8j28azrgi8hgfqhjfi"; owner = "debian";
repo = pname;
rev = "xtrace-${version}";
sha256 = "1yff6x847nksciail9jly41mv70sl8sadh0m5d847ypbjmxcwjpq";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook makeWrapper ];
buildInputs = [ libX11 makeWrapper ]; buildInputs = [ libX11 ];
preConfigure = '' postInstall = ''
./autogen.sh wrapProgram "$out/bin/xtrace" \
--prefix PATH ':' "${xauth}/bin"
''; '';
postInstall = meta = with stdenv.lib; {
'' wrapProgram "$out/bin/xtrace" \ homepage = "https://salsa.debian.org/debian/xtrace";
--prefix PATH ':' "${xauth}/bin"
'';
meta = {
homepage = http://xtrace.alioth.debian.org/;
description = "Tool to trace X11 protocol connections"; description = "Tool to trace X11 protocol connections";
license = stdenv.lib.licenses.gpl2; license = licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [viric]; maintainers = with maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux; platforms = with platforms; linux;
}; };
} }