Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 52 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchhg, 5 pkg-config, 6 meson, 7 ninja, 8 gtk3, 9 json_c, 10 libpulseaudio, 11 wayland, 12 wrapGAppsHook3, 13}: 14 15stdenv.mkDerivation { 16 pname = "rootbar"; 17 version = "unstable-2020-11-13"; 18 19 src = fetchhg { 20 url = "https://hg.sr.ht/~scoopta/rootbar"; 21 rev = "a018e10cfc5e"; 22 sha256 = "sha256-t6oDIYCVaCxaYy4bS1vxESaFDNxsx5JQLQK77eVuafE="; 23 }; 24 25 nativeBuildInputs = [ 26 meson 27 ninja 28 pkg-config 29 wrapGAppsHook3 30 ]; 31 32 buildInputs = [ 33 gtk3 34 json_c 35 libpulseaudio 36 wayland 37 ]; 38 39 meta = with lib; { 40 homepage = "https://hg.sr.ht/~scoopta/rootbar"; 41 description = "Bar for Wayland WMs"; 42 mainProgram = "rootbar"; 43 longDescription = '' 44 Root Bar is a bar for wlroots based wayland compositors such as sway and 45 was designed to address the lack of good bars for wayland. 46 ''; 47 license = licenses.gpl3Plus; 48 maintainers = with maintainers; [ ]; 49 platforms = platforms.unix; 50 broken = stdenv.hostPlatform.isDarwin; 51 }; 52}