3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/xtitle/default.nix

24 lines
626 B
Nix
Raw Normal View History

2021-01-15 09:19:50 +00:00
{ lib, stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:
2014-08-09 22:31:05 +01:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
name = "xtitle-0.4.4";
2014-08-09 22:31:05 +01:00
src = fetchurl {
url = "https://github.com/baskerville/xtitle/archive/0.4.4.tar.gz";
sha256 = "0w490a6ki90si1ri48jzhma473a598l1b12j8dp4ckici41z9yy2";
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";
2021-01-15 09:19:50 +00:00
maintainers = [ lib.maintainers.meisternu ];
2014-08-09 22:31:05 +01:00
license = "Custom";
2021-01-15 09:19:50 +00:00
platforms = lib.platforms.linux;
2014-08-09 22:31:05 +01:00
};
}