25 lines
637 B
Nix
25 lines
637 B
Nix
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xtitle";
|
|
version = "0.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "baskerville";
|
|
repo = "xtitle";
|
|
rev = version;
|
|
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
|
|
};
|
|
|
|
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 = [ lib.maintainers.meisternu ];
|
|
license = "Custom";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|