depot/third_party/nixpkgs/pkgs/by-name/lu/lubelogger/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

44 lines
1.4 KiB
Nix

{ lib
, buildDotnetModule
, dotnetCorePackages
, fetchFromGitHub
}:
buildDotnetModule rec {
pname = "lubelogger";
version = "1.3.1";
src = fetchFromGitHub {
owner = "hargata";
repo = "lubelog";
rev = "v${version}";
hash = "sha256-5gpwB4x2/JAaNtPQrlgFwh7om3rTJE0/mGr/Kn4qIIw=";
};
projectFile = "CarCareTracker.sln";
nugetDeps = ./deps.nix; # File generated with `nix-build -A package.passthru.fetch-deps`.
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
makeWrapperArgs = [
"--set DOTNET_CONTENTROOT ${placeholder "out"}/lib/lubelogger"
];
executables = [ "CarCareTracker" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
meta = with lib; {
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 = licenses.unfree;
maintainers = with maintainers; [ samasaur ];
mainProgram = "CarCareTracker";
platforms = platforms.all;
};
}