diff options
author | Sam <30577766+Samasaur1@users.noreply.github.com> | 2024-02-21 13:28:08 -0800 |
---|---|---|
committer | Sam <30577766+Samasaur1@users.noreply.github.com> | 2024-02-21 13:28:08 -0800 |
commit | 9cb400c135e60f9ed685ecf5fec69b9f655570dd (patch) | |
tree | 18cfb651d971cb70c4002afe5cf44ca91747c7c9 /pkgs/by-name/lu | |
parent | 1eccabe8933fb5f7a4b29ed1620a7e1934947b9c (diff) |
lubelogger: init at 1.2.1
Diffstat (limited to 'pkgs/by-name/lu')
-rw-r--r-- | pkgs/by-name/lu/lubelogger/deps.nix | 15 | ||||
-rw-r--r-- | pkgs/by-name/lu/lubelogger/package.nix | 44 |
2 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/by-name/lu/lubelogger/deps.nix b/pkgs/by-name/lu/lubelogger/deps.nix new file mode 100644 index 0000000000000..beb83e87aeae0 --- /dev/null +++ b/pkgs/by-name/lu/lubelogger/deps.nix @@ -0,0 +1,15 @@ +# This file was automatically generated by passthru.fetch-deps. +# Please dont edit it manually, your changes might get overwritten! + +{ fetchNuGet }: [ + (fetchNuGet { pname = "CsvHelper"; version = "30.0.1"; sha256 = "0v01s672zcrd3fjwzh14dihbal3apzyg3dc80k05a90ljk8yh9wl"; }) + (fetchNuGet { pname = "LiteDB"; version = "5.0.17"; sha256 = "126h0g850nc6dqvhwivfjsgb8lydsg250pcsvbzkasda2z5m9mln"; }) + (fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions"; version = "8.0.0"; sha256 = "1zw0bpp5742jzx03wvqc8csnvsbgdqi0ls9jfc5i2vd3cl8b74pg"; }) + (fetchNuGet { pname = "Microsoft.Extensions.Logging.Abstractions"; version = "8.0.0"; sha256 = "1klcqhg3hk55hb6vmjiq2wgqidsl81aldw0li2z98lrwx26msrr6"; }) + (fetchNuGet { pname = "Microsoft.IdentityModel.Abstractions"; version = "7.3.1"; sha256 = "0dvknvmnzi3jn2kz0fbcb3ilryd75dwyiwqn6cwc6nd5gdz4mdlm"; }) + (fetchNuGet { pname = "Microsoft.IdentityModel.JsonWebTokens"; version = "7.3.1"; sha256 = "03pd6b35a5j1qxmcf9552rp43fwddn1z3czyb6wlf1w1f95b5fqb"; }) + (fetchNuGet { pname = "Microsoft.IdentityModel.Logging"; version = "7.3.1"; sha256 = "0368p59kf6r9dyk511phl65wvk76n8885d2m9812fpj0ifqcdqg8"; }) + (fetchNuGet { pname = "Microsoft.IdentityModel.Tokens"; version = "7.3.1"; sha256 = "0i8mqrvzx9xi9pg1c92iy6cr756nnc3lr5cdawj0yh1x919wvx59"; }) + (fetchNuGet { pname = "Npgsql"; version = "8.0.2"; sha256 = "0w1hm3bjh1vfnkzflp1x8bd4d723mpr4y6gb6ga79v5kkf09cmm2"; }) + (fetchNuGet { pname = "System.IdentityModel.Tokens.Jwt"; version = "7.3.1"; sha256 = "095vn30apzwhqf70541617276whp19a92ncfppbknjj97dlb8bja"; }) +] diff --git a/pkgs/by-name/lu/lubelogger/package.nix b/pkgs/by-name/lu/lubelogger/package.nix new file mode 100644 index 0000000000000..33c6214f4e722 --- /dev/null +++ b/pkgs/by-name/lu/lubelogger/package.nix @@ -0,0 +1,44 @@ +{ lib +, buildDotnetModule +, dotnetCorePackages +, fetchFromGitHub +}: + +buildDotnetModule rec { + pname = "lubelogger"; + version = "1.2.1"; + + src = fetchFromGitHub { + owner = "hargata"; + repo = "lubelog"; + rev = "v${version}"; + hash = "sha256-YxP8XmjYqxuTA2fIV1q7GBsrWPtLr02KkFl4UUNJ2p8="; + }; + + 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 = "A 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; + }; +} |