Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ad06ae4195db
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ee90904d5ec3
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Apr 7, 2020

  1. tydra: init at 1.0.2

    Br1ght0ne committed Apr 7, 2020
    Copy the full SHA
    02f3a1f View commit details

Commits on Apr 13, 2020

  1. Merge pull request #84636 from filalex77/tydra-1.0.2

    tydra: init at 1.0.2
    marsam authored Apr 13, 2020
    Copy the full SHA
    ee90904 View commit details
Showing with 36 additions and 0 deletions.
  1. +34 −0 pkgs/tools/misc/tydra/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
34 changes: 34 additions & 0 deletions pkgs/tools/misc/tydra/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, rustPlatform, fetchFromGitHub, installShellFiles }:

rustPlatform.buildRustPackage rec {
pname = "tydra";
version = "1.0.2";

src = fetchFromGitHub {
owner = "Mange";
repo = pname;
rev = "v${version}";
sha256 = "1kvyski3qy2lwlpipynq894i0g9x2j4a1iy2mgdwfibfyfkv2jnm";
};

cargoSha256 = "11l3fvym16wrrpm9vy4asmqdh8qynwjy0w4gx2bbcnc6300ag43a";

nativeBuildInputs = [ installShellFiles ];

postInstall = ''
installManPage doc/{tydra.1,tydra-actions.5}
$out/bin/tydra --generate-completions bash > tydra.bash
$out/bin/tydra --generate-completions fish > tydra.fish
$out/bin/tydra --generate-completions zsh > _tydra
installShellCompletion tydra.{bash,fish} _tydra
'';

meta = with stdenv.lib; {
description = "Shortcut menu-based task runner, inspired by Emacs Hydra";
homepage = "https://github.com/Mange/tydra";
license = licenses.mit;
maintainers = with maintainers; [ filalex77 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -7103,6 +7103,8 @@ in

txtw = callPackage ../tools/misc/txtw { };

tydra = callPackage ../tools/misc/tydra { };

u9fs = callPackage ../servers/u9fs { };

ua = callPackage ../tools/networking/ua { };