Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 41 lines 715 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 libxcb, 6 xcbutil, 7 xcbutilwm, 8 git, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "xtitle"; 13 version = "0.4.4"; 14 15 src = fetchFromGitHub { 16 owner = "baskerville"; 17 repo = "xtitle"; 18 rev = version; 19 hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg="; 20 }; 21 22 postPatch = '' 23 sed -i "s|/usr/local|$out|" Makefile 24 ''; 25 26 buildInputs = [ 27 libxcb 28 git 29 xcbutil 30 xcbutilwm 31 ]; 32 33 meta = with lib; { 34 description = "Outputs X window titles"; 35 homepage = "https://github.com/baskerville/xtitle"; 36 maintainers = with maintainers; [ meisternu ]; 37 license = "Custom"; 38 platforms = platforms.linux; 39 mainProgram = "xtitle"; 40 }; 41}