2017-02-27 07:42:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "hr";
|
2017-02-27 07:42:44 +00:00
|
|
|
version = "1.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "LuRsT";
|
|
|
|
repo = "hr";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "162vkip2772jl59lschpinimpg4ssiyg7fq0va5cx4d7wldpqmks";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share" ];
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/{bin,share}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/LuRsT/hr;
|
|
|
|
description = "A horizontal bar for your terminal";
|
|
|
|
license = licenses.mit;
|
2019-02-20 18:52:48 +00:00
|
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
2017-02-27 07:42:44 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|