3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #277640 from kirillrdy/hishtory

hishtory: 0.215 -> 0.266
This commit is contained in:
Mario Rodas 2024-01-13 00:10:07 -05:00 committed by GitHub
commit fdea044ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,19 +5,21 @@
buildGoModule rec {
pname = "hishtory";
version = "0.215";
version = "0.266";
src = fetchFromGitHub {
owner = "ddworken";
repo = pname;
rev = "v${version}";
hash = "sha256-XDxAzMQjtCfufWnEO5NXP8Zv823a85qYhkZcEZKxIXs=";
hash = "sha256-AyUdmzrHBPXzDSOvhNz270D1AP7UdIpeaSqSyIFyQLY=";
};
vendorHash = "sha256-aXHqPk8iBMbe0NlsY3ZR7iozBGCAKlOOQ23FAD/5hL8=";
vendorHash = "sha256-yk1ryXQ750xW7BYTMg0UQYb5DEIJ5ZWvoLLKSo3nx6k=";
ldflags = [ "-X github.com/ddworken/hishtory/client/lib.Version=${version}" ];
subPackages = [ "." ];
excludedPackages = [ "backend/server" ];
postInstall = ''
@ -25,13 +27,14 @@ buildGoModule rec {
cp client/lib/config.* $out/share/hishtory
'';
doCheck = false;
doCheck = true;
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 ];
mainProgram = "hishtory";
};
}