Loading nixos/tests/atuin.nix +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ with lib; client.execute("echo 'sync_address = \"http://server:${toString testPort}\"' > ~/.config/atuin/config.toml") # log in to atuin server on client node client.succeed(f"${atuin}/bin/atuin login -u ${testUser} -p ${testPass} -k {key}") client.succeed(f"${atuin}/bin/atuin login -u ${testUser} -p ${testPass} -k \"{key}\"") # pull records from atuin server client.succeed("${atuin}/bin/atuin sync -f") Loading pkgs/tools/misc/atuin/default.nix +15 −4 Original line number Diff line number Diff line Loading @@ -6,21 +6,22 @@ , libiconv , Security , SystemConfiguration , xvfb-run , nixosTests }: rustPlatform.buildRustPackage rec { pname = "atuin"; version = "12.0.0"; version = "13.0.1"; src = fetchFromGitHub { owner = "ellie"; repo = pname; rev = "v${version}"; sha256 = "sha256-kt0Xu95E3MayUybSh1mU5frJoU7BF41Hnjqqrz/cVHE="; hash = "sha256-yNn67lceg1XA72LDRRjCgSsKfEN/P5VUAnKO//ru0nc="; }; cargoSha256 = "sha256-WAAelEFtHlFGDk0AI381OS5bxN58Z46kyMAuL+XX/Ac="; cargoHash = "sha256-oIK2upvAapYU6WkoWjiwcmq57TDbDBTc+2OjsMdv23E="; nativeBuildInputs = [ installShellFiles ]; Loading @@ -33,6 +34,16 @@ rustPlatform.buildRustPackage rec { --zsh <($out/bin/atuin gen-completions -s zsh) ''; nativeCheckInputs = [ xvfb-run ]; checkPhase = '' runHook preCheck xvfb-run cargo test runHook postCheck ''; passthru.tests = { inherit (nixosTests) atuin; }; Loading @@ -41,6 +52,6 @@ rustPlatform.buildRustPackage rec { description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines"; homepage = "https://github.com/ellie/atuin"; license = licenses.mit; maintainers = with maintainers; [ onsails SuperSandro2000 sciencentistguy ]; maintainers = with maintainers; [ SuperSandro2000 sciencentistguy _0x4A6F ]; }; } Loading
nixos/tests/atuin.nix +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ with lib; client.execute("echo 'sync_address = \"http://server:${toString testPort}\"' > ~/.config/atuin/config.toml") # log in to atuin server on client node client.succeed(f"${atuin}/bin/atuin login -u ${testUser} -p ${testPass} -k {key}") client.succeed(f"${atuin}/bin/atuin login -u ${testUser} -p ${testPass} -k \"{key}\"") # pull records from atuin server client.succeed("${atuin}/bin/atuin sync -f") Loading
pkgs/tools/misc/atuin/default.nix +15 −4 Original line number Diff line number Diff line Loading @@ -6,21 +6,22 @@ , libiconv , Security , SystemConfiguration , xvfb-run , nixosTests }: rustPlatform.buildRustPackage rec { pname = "atuin"; version = "12.0.0"; version = "13.0.1"; src = fetchFromGitHub { owner = "ellie"; repo = pname; rev = "v${version}"; sha256 = "sha256-kt0Xu95E3MayUybSh1mU5frJoU7BF41Hnjqqrz/cVHE="; hash = "sha256-yNn67lceg1XA72LDRRjCgSsKfEN/P5VUAnKO//ru0nc="; }; cargoSha256 = "sha256-WAAelEFtHlFGDk0AI381OS5bxN58Z46kyMAuL+XX/Ac="; cargoHash = "sha256-oIK2upvAapYU6WkoWjiwcmq57TDbDBTc+2OjsMdv23E="; nativeBuildInputs = [ installShellFiles ]; Loading @@ -33,6 +34,16 @@ rustPlatform.buildRustPackage rec { --zsh <($out/bin/atuin gen-completions -s zsh) ''; nativeCheckInputs = [ xvfb-run ]; checkPhase = '' runHook preCheck xvfb-run cargo test runHook postCheck ''; passthru.tests = { inherit (nixosTests) atuin; }; Loading @@ -41,6 +52,6 @@ rustPlatform.buildRustPackage rec { description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines"; homepage = "https://github.com/ellie/atuin"; license = licenses.mit; maintainers = with maintainers; [ onsails SuperSandro2000 sciencentistguy ]; maintainers = with maintainers; [ SuperSandro2000 sciencentistguy _0x4A6F ]; }; }