xcwd: init at 2016-09-30

fixes #27345
This commit is contained in:
GRBurst 2017-07-13 02:11:47 +02:00 committed by Jörg Thalheim
parent fe768392e2
commit 63ee6d6e29
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, libX11 }:
stdenv.mkDerivation rec {
version = "2016-09-30";
name = "xcwd-${version}";
src = fetchFromGitHub {
owner = "schischi";
repo = "xcwd";
rev = "3f0728b932904985b703b33bd5c936ea96cf15a0";
sha256 = "0lwfz6qg7fkiq86skp51vpav33yik22ps4dvr48asv3570skhlf9";
};
buildInputs = [ libX11 ];
makeFlags = "prefix=$(out)";
installPhase = ''
install -D xcwd "$out/bin/xcwd"
'';
meta = with stdenv.lib; {
description = ''
A simple tool which print the current working directory of the currently focused window
'';
homepage = https://github.com/schischi/xcwd;
maintainers = [ maintainers.grburst ];
license = licenses.bsd3;
platforms = platforms.linux;
};
}

View file

@ -4905,6 +4905,8 @@ with pkgs;
xclip = callPackage ../tools/misc/xclip { };
xcwd = callPackage ../tools/X11/xcwd { };
xtitle = callPackage ../tools/misc/xtitle { };
xdelta = callPackage ../tools/compression/xdelta { };