nixpkgs-suyu/pkgs/tools/misc/xtitle/default.nix
Ryan Mulligan 8e278fe2fc xtitle: 0.3 -> 0.4.3
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3/bin/xtitle -h` got 0 exit code
- ran `/nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3/bin/xtitle --help` got 0 exit code
- ran `/nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3/bin/xtitle -v` and found version 0.4.3
- ran `/nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3/bin/xtitle --version` and found version 0.4.3
- ran `/nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3/bin/xtitle --help` and found version 0.4.3
- found 0.4.3 with grep in /nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3
- found 0.4.3 in filename of file in /nix/store/pxkzrgjcbd0ppv4xgnwml53xaswbb899-xtitle-0.4.3

cc "@meisternu"
2018-02-27 19:13:32 -08:00

23 lines
637 B
Nix

{ stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:
stdenv.mkDerivation rec {
name = "xtitle-0.4.3";
src = fetchurl {
url = "https://github.com/baskerville/xtitle/archive/0.4.3.tar.gz";
sha256 = "0bk4mxx0vky37f66b2y34nggi1f7fnrmsprkxyc8mskj6qcrbm5h";
};
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;
};
}