nixpkgs/pkgs/applications/misc/hr/default.nix
Matthias Beyer 2cc06f0203 hr: init at 1.2 (#23153)
* hr: init at 1.2

* hr: simplify build
2017-02-27 08:42:44 +01:00

28 lines
643 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "hr-${version}";
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;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.unix;
};
}