atuin: 16.0.0 -> 17.0.0
- Release: https://github.com/atuinsh/atuin/releases/tag/v17.0.0 - Changes: https://github.com/atuinsh/atuin/compare/v16.0.0...v17.0.0
This commit is contained in:
parent
7c9cc5a6e5
commit
fc5f9cae21
@ -4,6 +4,7 @@
|
||||
, installShellFiles
|
||||
, rustPlatform
|
||||
, libiconv
|
||||
, AppKit
|
||||
, Security
|
||||
, SystemConfiguration
|
||||
, nixosTests
|
||||
@ -11,24 +12,24 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "atuin";
|
||||
version = "16.0.0";
|
||||
version = "17.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atuinsh";
|
||||
repo = "atuin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Kh6aaWYV+ZG7Asvw5JdGsV+nxD+xvvQab5wLIedcQcQ=";
|
||||
hash = "sha256-eGukHoh1S2CtehapSRUM3+cnVvTpslwvDCSXlrnC4+4=";
|
||||
};
|
||||
|
||||
# TODO: unify this to one hash because updater do not support this
|
||||
cargoHash =
|
||||
if stdenv.isLinux
|
||||
then "sha256-Ami88ScGj58jCCat4MMDvjZtV5WglmrlggpQfo+LPjs="
|
||||
else "sha256-HQMZ9w1C6go16XGrPNniQZliIQ/5yAp2w/uUwAOQTM0=";
|
||||
then "sha256-KlfNOZ5xDID+x0GohbLv+SJlPQRK6C5YzbbFnKvm2ng="
|
||||
else "sha256-8OarzrMc7EiHEDDbs2XiggivebQ68yufnmhXsf6MBwM=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv AppKit Security SystemConfiguration ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd atuin \
|
||||
@ -44,6 +45,8 @@ rustPlatform.buildRustPackage rec {
|
||||
checkFlags = [
|
||||
# tries to make a network access
|
||||
"--skip=registration"
|
||||
# No such file or directory (os error 2)
|
||||
"--skip=sync"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -285,7 +285,7 @@ with pkgs;
|
||||
_0x = callPackage ../tools/misc/0x { };
|
||||
|
||||
atuin = callPackage ../tools/misc/atuin {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit Security SystemConfiguration;
|
||||
};
|
||||
|
||||
automatic-timezoned = callPackage ../tools/system/automatic-timezoned { };
|
||||
|
Loading…
Reference in New Issue
Block a user