atuin: 12.0.0 -> 13.0.1, remove onsails from maintainers (#218841)
This commit is contained in:
parent
7a1c024fbe
commit
8a3d244cc0
|
@ -54,7 +54,7 @@ with lib;
|
||||||
client.execute("echo 'sync_address = \"http://server:${toString testPort}\"' > ~/.config/atuin/config.toml")
|
client.execute("echo 'sync_address = \"http://server:${toString testPort}\"' > ~/.config/atuin/config.toml")
|
||||||
|
|
||||||
# log in to atuin server on client node
|
# 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
|
# pull records from atuin server
|
||||||
client.succeed("${atuin}/bin/atuin sync -f")
|
client.succeed("${atuin}/bin/atuin sync -f")
|
||||||
|
|
|
@ -6,21 +6,22 @@
|
||||||
, libiconv
|
, libiconv
|
||||||
, Security
|
, Security
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
|
, xvfb-run
|
||||||
, nixosTests
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "atuin";
|
pname = "atuin";
|
||||||
version = "12.0.0";
|
version = "13.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ellie";
|
owner = "ellie";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-kt0Xu95E3MayUybSh1mU5frJoU7BF41Hnjqqrz/cVHE=";
|
hash = "sha256-yNn67lceg1XA72LDRRjCgSsKfEN/P5VUAnKO//ru0nc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-WAAelEFtHlFGDk0AI381OS5bxN58Z46kyMAuL+XX/Ac=";
|
cargoHash = "sha256-oIK2upvAapYU6WkoWjiwcmq57TDbDBTc+2OjsMdv23E=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -33,6 +34,16 @@ rustPlatform.buildRustPackage rec {
|
||||||
--zsh <($out/bin/atuin gen-completions -s zsh)
|
--zsh <($out/bin/atuin gen-completions -s zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
xvfb-run
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
xvfb-run cargo test
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
inherit (nixosTests) atuin;
|
inherit (nixosTests) atuin;
|
||||||
};
|
};
|
||||||
|
@ -41,6 +52,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
|
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/ellie/atuin";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ onsails SuperSandro2000 sciencentistguy ];
|
maintainers = with maintainers; [ SuperSandro2000 sciencentistguy _0x4A6F ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue