fishPlugins.humantime-fish: init at unstable-2022-04-08

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-09 21:52:03 +01:00
parent 196e9745e3
commit aec7857745
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
2 changed files with 31 additions and 0 deletions

View file

@ -28,6 +28,8 @@ lib.makeScope newScope (self: with self; {
grc = callPackage ./grc.nix { };
humantime-fish = callPackage ./humantime-fish.nix { };
hydro = callPackage ./hydro.nix { };
pisces = callPackage ./pisces.nix { };

View file

@ -0,0 +1,29 @@
{ lib
, buildFishPlugin
, fetchFromGitHub
, fishtape
,
}:
buildFishPlugin rec {
pname = "humantime-fish";
version = "unstable-2022-04-08";
src = fetchFromGitHub {
owner = "jorgebucaran";
repo = "humantime.fish";
rev = "53b2adb4c6aff0da569c931a3cc006efcd0e7219";
sha256 = "sha256-792rPsf2WDIYcP8gn6TbHh9RZvskfOAL/oKfpilaLh0=";
};
checkPlugins = [ fishtape ];
checkPhase = ''
fishtape tests/humantime.fish
'';
meta = with lib; {
description = "Turn milliseconds into a human-readable string in Fish";
homepage = "https://github.com/jorgebucaran/humantime.fish";
license = licenses.mit;
maintainers = with maintainers; [ Scrumplex ];
};
}