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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
654 B
Nix
Raw Normal View History

2021-09-19 17:57:57 +01:00
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }:
2014-08-09 22:31:05 +01:00
stdenv.mkDerivation rec {
2021-09-19 17:57:57 +01:00
pname = "xtitle";
version = "0.4.4";
2014-08-09 22:31:05 +01:00
2021-09-19 17:57:57 +01:00
src = fetchFromGitHub {
owner = "baskerville";
repo = "xtitle";
rev = version;
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
};
2014-08-09 22:31:05 +01:00
2021-10-12 19:01:25 +01:00
postPatch = ''
sed -i "s|/usr/local|$out|" Makefile
'';
2014-08-09 22:31:05 +01:00
2021-10-12 19:01:25 +01:00
buildInputs = [ libxcb git xcbutil xcbutilwm ];
2014-08-09 22:31:05 +01:00
2021-10-12 19:01:25 +01:00
meta = with lib; {
2021-09-19 17:57:57 +01:00
description = "Outputs X window titles";
homepage = "https://github.com/baskerville/xtitle";
2021-10-12 19:01:25 +01:00
maintainers = with maintainers; [ meisternu ];
2021-09-19 17:57:57 +01:00
license = "Custom";
2021-10-12 19:01:25 +01:00
platforms = platforms.linux;
2021-09-19 17:57:57 +01:00
};
2014-08-09 22:31:05 +01:00
}