nixpkgs/pkgs/applications/misc/hr/default.nix
Matthias Beyer f1f4f38909 Revert "Remove maintainership"
I'm baaaaack!

This patch reverts my patch where I removed myself as maintainer because
of my traveling. I'm back now and I want to maintain these packages
again.

This reverts commit ce1c1e3093b9652fb3a3cdc1472afbc8a84dee68.
2019-02-20 19:57:34 +01:00

29 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;
};
}