nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 35 lines 979 B view raw
1{ buildGoModule, fetchFromGitHub, lib, installShellFiles }: 2 3buildGoModule rec { 4 pname = "jump"; 5 version = "0.51.0"; 6 7 src = fetchFromGitHub { 8 owner = "gsamokovarov"; 9 repo = pname; 10 rev = "v${version}"; 11 hash = "sha256-nlCuotEiAX2+xx7T8jWZo2p4LNLhWXDdcU6DxJprgx0="; 12 }; 13 14 vendorHash = "sha256-nMUqZWdq//q/DNthvpKiYLq8f95O0QoItyX5w4vHzSA="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17 18 ldflags = [ "-s" "-w" ]; 19 20 postInstall = '' 21 installManPage man/j.1 man/jump.1 22 ''; 23 24 meta = with lib; { 25 description = "Navigate directories faster by learning your habits"; 26 longDescription = '' 27 Jump integrates with the shell and learns about your 28 navigational habits by keeping track of the directories you visit. It 29 strives to give you the best directory for the shortest search term. 30 ''; 31 homepage = "https://github.com/gsamokovarov/jump"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ aaronjheng ]; 34 }; 35}