zellij: 0.13.0 -> 0.14.0

This commit is contained in:
0x4A6F 2021-07-06 08:05:57 +02:00
parent e627109b60
commit 48cd90425d
No known key found for this signature in database
GPG key ID: 8DEDBA5BE07080E1

View file

@ -1,21 +1,29 @@
{ lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, libiconv }:
{ lib
, fetchFromGitHub
, rustPlatform
, stdenv
, installShellFiles
, pkg-config
, libiconv
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "zellij";
version = "0.13.0";
version = "0.14.0";
src = fetchFromGitHub {
owner = "zellij-org";
repo = pname;
repo = "zellij";
rev = "v${version}";
sha256 = "sha256-m7rAlFMhkX6+l+OceZ/RnusdhGew+Rjp7AmZ7vo2wr0=";
sha256 = "sha256-1GG3Bvw3P77dLhvJKwq48TUWMwg+bDgzWmtrw2JixLg=";
};
cargoSha256 = "sha256-iTPOlbS3gWlJ8E2VB7z/kOsOJcngPGof7R5cH3Z0xk0=";
cargoSha256 = "sha256-cqm4QCGy6eTKtEBlE2ihmh93eO7d47zlCrLY8Gp0dxM=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
preCheck = ''
HOME=$TMPDIR