Loading maintainers/maintainer-list.nix +11 −0 Original line number Diff line number Diff line Loading @@ -5102,6 +5102,12 @@ githubId = 118536343; name = "David Hamelin"; }; David-Kopczynski = { name = "David Elias Chris Kopczynski"; email = "mail@davidkopczynski.com"; github = "David-Kopczynski"; githubId = 53194670; }; david-r-cox = { email = "david@integrated-reasoning.com"; github = "david-r-cox"; Loading Loading @@ -10882,6 +10888,11 @@ name = "Joonas Rautiola"; keys = [ { fingerprint = "87EC DD30 6614 E510 5299 F0D4 090E B48A 4669 AA54"; } ]; }; Jojo4GH = { name = "Jonas Broeckmann"; github = "Jojo4GH"; githubId = 36777568; }; jojosch = { name = "Johannes Schleifenbaum"; email = "johannes@js-webcoding.de"; Loading pkgs/by-name/na/nav/package.nix 0 → 100644 +62 −0 Original line number Diff line number Diff line { stdenv, lib, fetchzip, nix-update-script, autoPatchelfHook, libxcrypt-legacy, }: let system = stdenv.hostPlatform.parsed.cpu.name; platform = "${system}-unknown-linux-gnu"; in stdenv.mkDerivation rec { pname = "nav"; version = "1.2.1"; src = fetchzip { url = "https://github.com/Jojo4GH/nav/releases/download/v${version}/nav-${platform}.tar.gz"; sha256 = { x86_64-linux = "sha256-ihn5wlagmujHlSfJpgojQNqa4NjLF1wk2pt8wHi60DY="; aarch64-linux = "sha256-l3rKu3OU/TUUjmx3p06k9V5eN3ZDNcxbxObLqVQ2B7U="; } .${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); }; nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ stdenv.cc.cc.lib libxcrypt-legacy ]; installPhase = '' runHook preInstall mkdir -p $out/bin cp nav $out/bin runHook postInstall ''; passthru.updateScript = nix-update-script { }; meta = { description = "Interactive and stylish replacement for ls & cd"; longDescription = '' To make use of nav, add the following lines to your configuration: `programs.bash.shellInit = "eval \"$(nav --init bash)\"";` and `programs.zsh.shellInit = "eval \"$(nav --init zsh)\"";` ''; homepage = "https://github.com/Jojo4GH/nav"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ David-Kopczynski Jojo4GH ]; platforms = lib.platforms.linux; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; mainProgram = "nav"; }; } Loading
maintainers/maintainer-list.nix +11 −0 Original line number Diff line number Diff line Loading @@ -5102,6 +5102,12 @@ githubId = 118536343; name = "David Hamelin"; }; David-Kopczynski = { name = "David Elias Chris Kopczynski"; email = "mail@davidkopczynski.com"; github = "David-Kopczynski"; githubId = 53194670; }; david-r-cox = { email = "david@integrated-reasoning.com"; github = "david-r-cox"; Loading Loading @@ -10882,6 +10888,11 @@ name = "Joonas Rautiola"; keys = [ { fingerprint = "87EC DD30 6614 E510 5299 F0D4 090E B48A 4669 AA54"; } ]; }; Jojo4GH = { name = "Jonas Broeckmann"; github = "Jojo4GH"; githubId = 36777568; }; jojosch = { name = "Johannes Schleifenbaum"; email = "johannes@js-webcoding.de"; Loading
pkgs/by-name/na/nav/package.nix 0 → 100644 +62 −0 Original line number Diff line number Diff line { stdenv, lib, fetchzip, nix-update-script, autoPatchelfHook, libxcrypt-legacy, }: let system = stdenv.hostPlatform.parsed.cpu.name; platform = "${system}-unknown-linux-gnu"; in stdenv.mkDerivation rec { pname = "nav"; version = "1.2.1"; src = fetchzip { url = "https://github.com/Jojo4GH/nav/releases/download/v${version}/nav-${platform}.tar.gz"; sha256 = { x86_64-linux = "sha256-ihn5wlagmujHlSfJpgojQNqa4NjLF1wk2pt8wHi60DY="; aarch64-linux = "sha256-l3rKu3OU/TUUjmx3p06k9V5eN3ZDNcxbxObLqVQ2B7U="; } .${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); }; nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ stdenv.cc.cc.lib libxcrypt-legacy ]; installPhase = '' runHook preInstall mkdir -p $out/bin cp nav $out/bin runHook postInstall ''; passthru.updateScript = nix-update-script { }; meta = { description = "Interactive and stylish replacement for ls & cd"; longDescription = '' To make use of nav, add the following lines to your configuration: `programs.bash.shellInit = "eval \"$(nav --init bash)\"";` and `programs.zsh.shellInit = "eval \"$(nav --init zsh)\"";` ''; homepage = "https://github.com/Jojo4GH/nav"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ David-Kopczynski Jojo4GH ]; platforms = lib.platforms.linux; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; mainProgram = "nav"; }; }