@@ -0,0 +1,22 @@
1+{ fetchurl, stdenv }:
2+
3+stdenv.mkDerivation rec {
4+ name = "i3blocks-${version}";
5+ version = "1.4";
6+
7+ src = fetchurl {
8+ url = "https://github.com/vivien/i3blocks/releases/download/${version}/${name}.tar.gz";
9+ sha256 = "c64720057e22cc7cac5e8fcd58fd37e75be3a7d5a3cb8995841a7f18d30c0536";
10+ };
11+
12+ makeFlags = "all";
13+ installFlags = "PREFIX=\${out} VERSION=${version}";
14+
15+ meta = with stdenv.lib; {
16+ description = "A flexible scheduler for your i3bar blocks.";
17+ homepage = https://github.com/vivien/i3blocks;
18+ license = licenses.gpl3;
19+ maintainers = [ "MindTooth" ];
20+ platforms = platforms.all;
21+ };
22+}