depot/third_party/nixpkgs/pkgs/servers/web-apps/baget/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

29 lines
756 B
Nix

{ buildDotnetModule, lib, fetchFromGitHub, dotnetCorePackages }:
buildDotnetModule rec {
pname = "BaGet";
version = "0.4.0-preview2";
src = fetchFromGitHub {
owner = "loic-sharma";
repo = pname;
rev = "v${version}";
sha256 = "S/3CjXB/fBDzxLuQBQB3CKgEkmzUA8ZzzvzXLN8hfBU=";
};
projectFile = "src/BaGet/BaGet.csproj";
nugetDeps = ./deps.nix;
dotnet-sdk = dotnetCorePackages.sdk_3_1;
dotnet-runtime = dotnetCorePackages.aspnetcore_3_1;
passthru.updateScript = ./updater.sh;
meta = with lib; {
description = "A lightweight NuGet and symbol server";
license = licenses.mit;
homepage = "https://loic-sharma.github.io/BaGet/";
platforms = platforms.all;
maintainers = [ maintainers.abbradar ];
};
}