Merge pull request #63592 from layus/update-xtrace

xtrace: 1.3.1 -> 1.4.0
This commit is contained in:
worldofpeace 2019-06-25 12:30:20 -04:00 committed by GitHub
commit 9638d85ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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