3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/hr/default.nix

29 lines
633 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "hr";
2020-11-02 11:35:17 +00:00
version = "1.3";
src = fetchFromGitHub {
owner = "LuRsT";
repo = "hr";
rev = version;
2020-11-02 11:35:17 +00:00
sha256 = "068kq37lbqfjzh28rlvkprni38ii991naawylwvq6d43y9dpzs2b";
};
dontBuild = true;
installFlags = [ "PREFIX=$(out)" "MANPREFIX=$(out)/share" ];
preInstall = ''
mkdir -p $out/{bin,share}
'';
meta = with lib; {
homepage = "https://github.com/LuRsT/hr";
description = "A horizontal bar for your terminal";
license = licenses.mit;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.unix;
};
}