mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
ce1c1e3093
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
29 lines
617 B
Nix
29 lines
617 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 = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|