Merge pull request #129404 from 0x4A6F/master-zellij

zellij: 0.13.0 -> 0.14.0
This commit is contained in:
Sandro 2021-07-06 17:31:00 +02:00 committed by GitHub
commit 9e70d40b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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