about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/i3/blocks.nix
blob: ef03216d499bc027e21d77070c7f2910d9f6a5f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ fetchFromGitHub, stdenv, autoreconfHook }:

with stdenv.lib;

stdenv.mkDerivation {
  pname = "i3blocks";
  version = "unstable-2019-02-07";

  src = fetchFromGitHub {
    owner = "vivien";
    repo = "i3blocks";
    rev = "ec050e79ad8489a6f8deb37d4c20ab10729c25c3";
    sha256 = "1fx4230lmqa5rpzph68dwnpcjfaaqv5gfkradcr85hd1z8d1qp1b";
  };

  nativeBuildInputs = [ autoreconfHook ];

  meta = {
    description = "A flexible scheduler for your i3bar blocks";
    homepage = https://github.com/vivien/i3blocks;
    license = licenses.gpl3;
    platforms = with platforms; freebsd ++ linux;
  };
}