mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildDotnetModule
|
|
, dotnetCorePackages
|
|
}:
|
|
let
|
|
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_7_0 sdk_8_0 ];
|
|
|
|
in buildDotnetModule rec {
|
|
pname = "dotnet-outdated";
|
|
version = "4.6.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dotnet-outdated";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-Ah5VOCIkSRkeDWk/KYHIc/OELo0T/HuJl0LEUiumlu0=";
|
|
};
|
|
|
|
inherit dotnet-sdk;
|
|
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
|
useDotnetFromEnv = true;
|
|
|
|
nugetDeps = ./deps.nix;
|
|
|
|
projectFile = "src/DotNetOutdated/DotNetOutdated.csproj";
|
|
executables = "dotnet-outdated";
|
|
|
|
dotnetInstallFlags = [ "--framework" "net8.0" ];
|
|
|
|
meta = with lib; {
|
|
description = ".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";
|
|
};
|
|
}
|