2015-12-11 06:55:00 +00:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "i3blocks-${version}";
|
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/vivien/i3blocks/releases/download/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "c64720057e22cc7cac5e8fcd58fd37e75be3a7d5a3cb8995841a7f18d30c0536";
|
|
|
|
};
|
|
|
|
|
2017-01-12 20:15:15 +00:00
|
|
|
buildFlags = "SYSCONFDIR=/etc all";
|
2015-12-11 06:55:00 +00:00
|
|
|
installFlags = "PREFIX=\${out} VERSION=${version}";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-27 17:24:00 +00:00
|
|
|
description = "A flexible scheduler for your i3bar blocks";
|
2015-12-11 06:55:00 +00:00
|
|
|
homepage = https://github.com/vivien/i3blocks;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ "MindTooth" ];
|
2017-01-13 16:04:47 +00:00
|
|
|
platforms = freebsd ++ linux ++ netbsd;
|
2015-12-11 06:55:00 +00:00
|
|
|
};
|
|
|
|
}
|