3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/atuin/default.nix

33 lines
850 B
Nix
Raw Normal View History

2021-05-08 10:28:16 +01:00
{ lib
2021-05-11 22:02:05 +01:00
, stdenv
2021-05-08 10:28:16 +01:00
, fetchFromGitHub
, rustPlatform
2021-05-11 22:02:05 +01:00
, libiconv
, Security
, SystemConfiguration
2021-05-08 10:28:16 +01:00
}:
rustPlatform.buildRustPackage rec {
pname = "atuin";
version = "0.7.1";
src = fetchFromGitHub {
owner = "ellie";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jjGP8YeHnEr0f9RONwA6wZT872C0jXTvSRdt9zAu6KE=";
};
cargoSha256 = "0vy6q3hjp374lyg00zxim8aplh83iq3f4rrmpz5vnpwbag1fdql3";
2021-05-11 22:02:05 +01:00
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
2021-05-08 10:28:16 +01:00
meta = with lib; {
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 = [ maintainers.onsails ];
broken = stdenv.isDarwin && stdenv.isAarch64;
2021-05-08 10:28:16 +01:00
};
}