Commit fd52a5cc authored by happysalada's avatar happysalada Committed by Yt
Browse files

atuin: 15.0.0 -> 16.0.0

parent e032f864
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -11,20 +11,20 @@

rustPlatform.buildRustPackage rec {
  pname = "atuin";
  version = "15.0.0";
  version = "16.0.0";

  src = fetchFromGitHub {
    owner = "ellie";
    repo = pname;
    owner = "atuinsh";
    repo = "atuin";
    rev = "v${version}";
    hash = "sha256-BX1WpvJMcfpepsRX0U6FJBL5/+mpUyTZxm65BbbZLJA=";
    hash = "sha256-Kh6aaWYV+ZG7Asvw5JdGsV+nxD+xvvQab5wLIedcQcQ=";
  };

  # TODO: unify this to one hash because updater do not support this
  cargoHash =
    if stdenv.isLinux
    then "sha256-EnIR+BXw8oYlv3dpYy4gAkN/zckRI8KEAbbR9wPmMq4="
    else "sha256-hHcahzrIuXIgOv+sx0HbC9f5guTcTr6L4eeLoiQsAzA=";
    then "sha256-Ami88ScGj58jCCat4MMDvjZtV5WglmrlggpQfo+LPjs="
    else "sha256-HQMZ9w1C6go16XGrPNniQZliIQ/5yAp2w/uUwAOQTM0=";

  nativeBuildInputs = [ installShellFiles ];

@@ -41,9 +41,14 @@ rustPlatform.buildRustPackage rec {
    inherit (nixosTests) atuin;
  };

  checkFlags = [
    # tries to make a network access
    "--skip=registration"
  ];

  meta = with lib; {
    description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
    homepage = "https://github.com/ellie/atuin";
    homepage = "https://github.com/atuinsh/atuin";
    license = licenses.mit;
    maintainers = with maintainers; [ SuperSandro2000 sciencentistguy _0x4A6F ];
  };