yatto: 0.21.7 -> 1.2.0 (#503349)
This commit is contained in:
@@ -2,25 +2,51 @@
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
gitMinimal,
|
||||
gitSetupHook,
|
||||
jujutsu,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "yatto";
|
||||
version = "0.21.7";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "handlebargh";
|
||||
repo = "yatto";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-WLksvl6BtrtxULxxqdHpAD6oVdefhqo7aZoxqXrFfOA=";
|
||||
hash = "sha256-sso0LlKzE/OJILCf7O5mdPgk6BUTiziQq2tcxcPMtkI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-I/9Wcwm2rnQxixevtz1i3fhmlM0b8Yq4pb2eieG7bq0=";
|
||||
vendorHash = "sha256-8bCk6c/EyghsHKLinWGIJhbl76j3V/rzTmrCWh+5cIU=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gitMinimal
|
||||
gitSetupHook
|
||||
jujutsu
|
||||
];
|
||||
|
||||
checkFlags =
|
||||
let
|
||||
# Skip tests that require network access
|
||||
skippedTests = [
|
||||
"TestJjCommit"
|
||||
"TestJjContributors"
|
||||
"TestJjUser"
|
||||
"TestResolver/AllContributors_function_resolves_correctly"
|
||||
"TestResolver"
|
||||
"TestE2E_AddEditDeleteProject"
|
||||
"TestE2E_AddEditDeleteProject/jj"
|
||||
"TestE2E_AddEditDeleteTask"
|
||||
"TestE2E_AddEditDeleteTask/jj"
|
||||
];
|
||||
in
|
||||
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
|
||||
|
||||
meta = {
|
||||
description = "Terminal-based to-do application built with Bubble Tea";
|
||||
homepage = "https://github.com/handlebargh/yatto";
|
||||
|
||||
Reference in New Issue
Block a user