Files
nixpkgs/pkgs/by-name/lu/lubelogger/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

46 lines
1.4 KiB
Nix

{
lib,
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub,
}:
buildDotnetModule rec {
pname = "lubelogger";
version = "1.4.5";
src = fetchFromGitHub {
owner = "hargata";
repo = "lubelog";
rev = "v${version}";
hash = "sha256-ZlB9lyfC4xrLWAb+Jbo6eI/LuYjvgMEauQeLxGCqy88=";
};
projectFile = "CarCareTracker.sln";
nugetDeps = ./deps.json; # File generated with `nix-build -A lubelogger.passthru.fetch-deps`.
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
makeWrapperArgs = [
"--set DOTNET_WEBROOT ${placeholder "out"}/lib/lubelogger/wwwroot"
];
executables = [ "CarCareTracker" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
meta = {
description = "Vehicle service records and maintainence tracker";
longDescription = ''
A self-hosted, open-source, unconventionally-named vehicle maintenance records and fuel mileage tracker.
LubeLogger by Hargata Softworks is licensed under the MIT License for individual and personal use. Commercial users and/or corporate entities are required to maintain an active subscription in order to continue using LubeLogger.
'';
homepage = "https://lubelogger.com";
changelog = "https://github.com/hargata/lubelog/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lyndeno ];
mainProgram = "CarCareTracker";
platforms = lib.platforms.all;
};
}