mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
24 lines
635 B
Nix
24 lines
635 B
Nix
{ stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "xtitle-0.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/baskerville/xtitle/archive/0.4.4.tar.gz";
|
|
sha256 = "0w490a6ki90si1ri48jzhma473a598l1b12j8dp4ckici41z9yy2";
|
|
};
|
|
|
|
|
|
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 ];
|
|
license = "Custom";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|