push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
{
buildDartApplication,
dart,
fetchFromGitHub,
lib,
runCommand,
testers,
unsure,
writeText,
}:
buildDartApplication rec {
pname = "unsure";
version = "0.4.0-unstable-2025-04-15";
src = fetchFromGitHub {
owner = "filiph";
repo = "unsure";
rev = "123712482b7053974cbef9ffa7ba46c1cdfb765f";
hash = "sha256-rn10vy6l12ToiqO4vGVT4N7WNlj6PY/r+xVzjmYqILw=";
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
[[ "$("$out/bin/unsure" "4~6 * 1~2" | head --lines=2)" == "$(printf '\n\t%s' '5~11')" ]]
runHook postInstallCheck
'';
passthru.updateScript = ./update.sh;
meta = {
changelog = "https://github.com/filiph/unsure/blob/${src.rev}/CHANGELOG.md";
description = "Calculate with numbers youre not sure about";
downloadPage = "https://github.com/filiph/unsure";
homepage = "https://filiph.github.io/unsure";
license = lib.licenses.mit;
mainProgram = "unsure";
maintainers = [
lib.maintainers.l0b0
lib.maintainers.rksm
];
};
}