git-statuses: 0.8.2 -> 1.0.0 (#582758)

This commit is contained in:
Peder Bergebakken Sundt
2026-11-10 00:24:41 +00:00
committed by GitHub

View File

@@ -4,6 +4,7 @@
rustPlatform,
installShellFiles,
pkg-config,
libgit2,
openssl,
git,
versionCheckHook,
@@ -13,16 +14,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "git-statuses";
version = "0.8.2";
version = "1.0.0";
src = fetchFromGitHub {
owner = "bircni";
repo = "git-statuses";
tag = finalAttrs.version;
hash = "sha256-hZ0/lC7Xjv+CDi2uucRa009nTCrKIrBFj3BbZsciJ2o=";
hash = "sha256-2TY5/3+NLCews07fQ5nrmubmICmdKhqFFvvI0VvFlRI=";
};
cargoHash = "sha256-RMRATVe6NILxNiNVkcdv5x5BYVL5UUphtrrGRWN18KU=";
cargoHash = "sha256-LWeQYsH6xG9RCCp8BROmrK2jP5XcXnyGZPy7rVnvr94=";
# Needed to get openssl-sys to use pkg-config.
env.OPENSSL_NO_VENDOR = 1;
@@ -32,8 +33,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
pkg-config
];
buildInputs = [
libgit2
openssl
];
# tests print tables and check their content,
# but in the sandbox, stty has "rows 0; columns 0;"
# so a newline is inserted after every char
preCheck = ''
stty -F /dev/stdout cols 100
'';
nativeInstallCheckInputs = [
git
versionCheckHook