Merge pull request #235396 from Enzime/add/hishtory

hishtory: init at 0.208
This commit is contained in:
Pol Dellaiera 2023-06-08 08:29:30 +02:00 committed by GitHub
commit a193d6e90a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "hishtory";
version = "0.208";
src = fetchFromGitHub {
owner = "ddworken";
repo = pname;
rev = "v${version}";
hash = "sha256-TEto5lLH5nwqJ9PaYKrYCNW4/zrIICANQlGmqwDbOm4=";
};
vendorHash = "sha256-FodgIELV5JbqP3h/mIDDYARZcols9ZEtVREW1853EOI=";
ldflags = [ "-X github.com/ddworken/hishtory/client/lib.Version=${version}" ];
excludedPackages = [ "backend/server" ];
postInstall = ''
mkdir -p $out/share/hishtory
cp client/lib/config.* $out/share/hishtory
'';
doCheck = false;
meta = with lib; {
description = "Your shell history: synced, queryable, and in context";
homepage = "https://github.com/ddworken/hishtory";
license = licenses.mit;
maintainers = with maintainers; [ Enzime ];
};
}

View file

@ -14532,6 +14532,8 @@ with pkgs;
fzf-git-sh = callPackage ../shells/fzf-git-sh { };
hishtory = callPackage ../shells/hishtory { };
ion = callPackage ../shells/ion { };
jush = callPackage ../shells/jush { };