nixpkgs/pkgs/tools/misc/xtitle/default.nix

24 lines
633 B
Nix
Raw Normal View History

2014-08-09 22:31:05 +01:00
{ stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:
stdenv.mkDerivation rec {
2016-10-08 06:11:41 +01:00
name = "xtitle-0.3";
2014-08-09 22:31:05 +01:00
src = fetchurl {
2016-10-08 06:11:41 +01:00
url = "https://github.com/baskerville/xtitle/archive/0.3.tar.gz";
sha256 = "07r36f4ad1q0dpkx3ykd49xlmi24d8mjqwh40j228k81wsvzayl1";
2014-08-09 22:31:05 +01:00
};
buildInputs = [ libxcb git xcbutil xcbutilwm ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = {
description = "Outputs X window titles";
homepage = https://github.com/baskerville/xtitle;
maintainers = [ stdenv.lib.maintainers.meisternu ];
2014-08-09 22:31:05 +01:00
license = "Custom";
platforms = stdenv.lib.platforms.linux;
};
}