forked from mirrors/nixpkgs
Merge pull request #277640 from kirillrdy/hishtory
hishtory: 0.215 -> 0.266
This commit is contained in:
commit
fdea044ecb
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue