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
|
, installShellFiles
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, libiconv
|
, libiconv
|
||||||
|
, AppKit
|
||||||
, Security
|
, Security
|
||||||
, SystemConfiguration
|
, SystemConfiguration
|
||||||
, nixosTests
|
, nixosTests
|
||||||
@ -11,24 +12,24 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "atuin";
|
pname = "atuin";
|
||||||
version = "16.0.0";
|
version = "17.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "atuinsh";
|
owner = "atuinsh";
|
||||||
repo = "atuin";
|
repo = "atuin";
|
||||||
rev = "v${version}";
|
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
|
# TODO: unify this to one hash because updater do not support this
|
||||||
cargoHash =
|
cargoHash =
|
||||||
if stdenv.isLinux
|
if stdenv.isLinux
|
||||||
then "sha256-Ami88ScGj58jCCat4MMDvjZtV5WglmrlggpQfo+LPjs="
|
then "sha256-KlfNOZ5xDID+x0GohbLv+SJlPQRK6C5YzbbFnKvm2ng="
|
||||||
else "sha256-HQMZ9w1C6go16XGrPNniQZliIQ/5yAp2w/uUwAOQTM0=";
|
else "sha256-8OarzrMc7EiHEDDbs2XiggivebQ68yufnmhXsf6MBwM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv AppKit Security SystemConfiguration ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd atuin \
|
installShellCompletion --cmd atuin \
|
||||||
@ -44,6 +45,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
checkFlags = [
|
checkFlags = [
|
||||||
# tries to make a network access
|
# tries to make a network access
|
||||||
"--skip=registration"
|
"--skip=registration"
|
||||||
|
# No such file or directory (os error 2)
|
||||||
|
"--skip=sync"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -285,7 +285,7 @@ with pkgs;
|
|||||||
_0x = callPackage ../tools/misc/0x { };
|
_0x = callPackage ../tools/misc/0x { };
|
||||||
|
|
||||||
atuin = callPackage ../tools/misc/atuin {
|
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 { };
|
automatic-timezoned = callPackage ../tools/system/automatic-timezoned { };
|
||||||
|
Loading…
Reference in New Issue
Block a user