1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

atuin: 18.0.0 -> 18.0.1

This commit is contained in:
0x4A6F 2024-02-12 20:32:42 +01:00
parent 308f28af26
commit d471567b5c
No known key found for this signature in database
GPG key ID: 8DEDBA5BE07080E1

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, installShellFiles
, rustPlatform
, libiconv
@ -11,29 +10,20 @@
rustPlatform.buildRustPackage rec {
pname = "atuin";
version = "18.0.0";
version = "18.0.1";
src = fetchFromGitHub {
owner = "atuinsh";
repo = "atuin";
rev = "v${version}";
hash = "sha256-2nBaGoaTd1TGm8aZnrNA66HkW7+OrD6gOmj+uSFz020=";
hash = "sha256-fuVSn1vhKn2+Tw5f6zBYHFW3QSL4eisZ6d5pxsj5hh4=";
};
patches = [
# https://github.com/atuinsh/atuin/pull/1694
(fetchpatch {
name = "0001-atuin_src_command_client_search_interactive.rs.patch";
url = "https://github.com/atuinsh/atuin/commit/6bc38f4cf3c8d2b6fbd135998a4e64e6abfb2566.patch";
hash = "sha256-pUiuECiAmq7nmKO/cOHZ1V5Iy3zDzZyBNNCH7Czo/NA=";
})
];
# TODO: unify this to one hash because updater do not support this
cargoHash =
if stdenv.isLinux
then "sha256-Y+49R/foid+V83tY3bqf644OkMPukJxg2/ZVfJxDaFg="
else "sha256-gT2JRzBAF4IsXVv1Hvo6kr9qrNE/3bojtULCx6YawhA=";
then "sha256-lHWgsVnjSeBmd7O4Fn0pUtTn4XbkBOAouaRHRozil50="
else "sha256-LxfpllzvgUu7ZuD97n3W+el3bdOt5QGXzJbDQ0w8seo=";
nativeBuildInputs = [ installShellFiles ];
@ -60,7 +50,7 @@ rustPlatform.buildRustPackage rec {
"--skip=registration"
# No such file or directory (os error 2)
"--skip=sync"
# further failing tests
# PermissionDenied (Operation not permitted)
"--skip=change_password"
"--skip=multi_user_test"
];