mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
29 lines
635 B
Nix
29 lines
635 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hr";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LuRsT";
|
|
repo = "hr";
|
|
rev = version;
|
|
sha256 = "068kq37lbqfjzh28rlvkprni38ii991naawylwvq6d43y9dpzs2b";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|