Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 perl, 6 libxcb, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "lemonbar"; 11 version = "1.5"; 12 13 src = fetchFromGitHub { 14 owner = "LemonBoy"; 15 repo = "bar"; 16 rev = "v${version}"; 17 sha256 = "sha256-OLhgu0kmMZhjv/VST8AXvIH+ysMq72m4TEOypdnatlU="; 18 }; 19 20 buildInputs = [ 21 libxcb 22 perl 23 ]; 24 25 installFlags = [ 26 "DESTDIR=$(out)" 27 "PREFIX=" 28 ]; 29 30 meta = with lib; { 31 description = "Lightweight xcb based bar"; 32 homepage = "https://github.com/LemonBoy/bar"; 33 maintainers = with maintainers; [ 34 meisternu 35 moni 36 ]; 37 license = licenses.mit; 38 platforms = platforms.linux; 39 mainProgram = "lemonbar"; 40 }; 41}