blob: 6d65accc51d544dfd423e62f0637529568418d3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, stdenv, fetchFromGitHub, ruby }:
stdenv.mkDerivation rec {
pname = "h";
version = "1.1.0";
src = fetchFromGitHub {
owner = "zimbatm";
repo = "h";
rev = "v${version}";
hash = "sha256-4rhol8a+OMX2+MxFPEM1WzM/70C7sye8jw4pg7CujRo=";
};
buildInputs = [ ruby ];
installPhase = ''
mkdir -p $out/bin
cp h $out/bin/h
cp up $out/bin/up
'';
meta = with lib; {
description = "faster shell navigation of projects";
homepage = "https://github.com/zimbatm/h";
license = licenses.mit;
maintainers = [ maintainers.zimbatm ];
};
}
|