1 { fetchFromGitHub, fetchpatch, lib, stdenv, autoreconfHook, pkg-config }:
7 src = fetchFromGitHub {
10 rev = "3417602a2d8322bc866861297f535e1ef80b8cb0";
11 sha256 = "0v8mwnm8qzpv6xnqvrk43s4b9iyld4naqzbaxk4ldq1qkhai0wsv";
15 # XDG_CONFIG_DIRS can contain multiple elements separated by colons, which should be searched in order.
17 # https://github.com/vivien/i3blocks/pull/405
18 url = "https://github.com/edef1c/i3blocks/commit/d57b32f9a364aeaf36869efdd54240433c737e57.patch";
19 sha256 = "102xb0ax0hmg82dz2gzfag470dkckzf2yizai0izacvrz0d3ngj1";
23 nativeBuildInputs = [ autoreconfHook pkg-config ];
26 description = "Flexible scheduler for your i3bar blocks";
27 mainProgram = "i3blocks";
28 homepage = "https://github.com/vivien/i3blocks";
29 license = licenses.gpl3;
30 platforms = with platforms; freebsd ++ linux;