h: init at 1.0.0 (#78017)

Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
zimbatm
2020-01-22 09:49:54 +00:00
committed by GitHub
co-authored by Jon
parent 50c661c447
commit 546fe02875
2 changed files with 30 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, makeWrapper, ruby }:
stdenv.mkDerivation rec {
pname = "h";
version = "1.0.0";
src = fetchFromGitHub {
owner = "zimbatm";
repo = "h";
rev = "v${version}";
hash = "sha256-chGrMtvLyyNtlM7PO1olVdkzkvMOk6OibHw+mqwVxIM=";
};
buildInputs = [ ruby ];
installPhase = ''
mkdir -p $out/bin
cp h $out/bin/h
cp up $out/bin/up
'';
meta = with stdenv.lib; {
description = "faster shell navigation of projects";
homepage = "https://github.com/zimbatm/h";
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
};
}
+2
View File
@@ -1593,6 +1593,8 @@ in
direnv = callPackage ../tools/misc/direnv { };
h = callPackage ../tools/misc/h { };
discount = callPackage ../tools/text/discount { };
diskscan = callPackage ../tools/misc/diskscan { };