Files
nixpkgs/pkgs/by-name/ob/oboete/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

44 lines
1016 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
libcosmicAppHook,
sqlite,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "oboete";
version = "0.1.12";
src = fetchFromGitHub {
owner = "mariinkys";
repo = "oboete";
tag = finalAttrs.version;
hash = "sha256-npvv2ZuMoZJnuwzRzbH+kQ5/IjlS6QuLi2rDmKwSoWQ=";
};
cargoHash = "sha256-hOvITZJfFyJbCV9+SuyVVwsY1/OGRXlJeKB/opVGrnI=";
nativeBuildInputs = [ libcosmicAppHook ];
buildInputs = [ sqlite ];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Simple flashcards application for the COSMIC desktop written in Rust";
homepage = "https://github.com/mariinkys/oboete";
changelog = "https://github.com/mariinkys/oboete/releases/tag/${finalAttrs.version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
GaetanLepage
HeitorAugustoLN
];
platforms = lib.platforms.linux;
mainProgram = "oboete";
};
})