blob: d044540bc8fbfff63cc9542348585e2b3d739f29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, fetchFromGitHub
, buildDotnetModule
, dotnetCorePackages
}:
buildDotnetModule rec {
pname = "dotnet-outdated";
version = "4.6.0";
src = fetchFromGitHub {
owner = "dotnet-outdated";
repo = pname;
rev = "v${version}";
hash = "sha256-U5qCM+Um8bRafrDpbI5TnSN1nQ8mQpZ5W8Jao2hdAPw=";
};
dotnet-sdk = dotnetCorePackages.dotnet_8.sdk;
dotnet-runtime = dotnetCorePackages.dotnet_8.runtime;
useDotnetFromEnv = true;
nugetDeps = ./deps.nix;
projectFile = "src/DotNetOutdated/DotNetOutdated.csproj";
executables = "dotnet-outdated";
dotnetInstallFlags = [ "--framework" "net8.0" ];
meta = with lib; {
description = "A .NET Core global tool to display and update outdated NuGet packages in a project";
homepage = "https://github.com/dotnet-outdated/dotnet-outdated";
sourceProvenance = with sourceTypes; [
fromSource
# deps
binaryBytecode
binaryNativeCode
];
license = licenses.mit;
maintainers = with maintainers; [ emilioziniades ];
mainProgram = "dotnet-outdated";
};
}
|