nuget: 6.3.1.1 -> 6.6.1.2

This commit is contained in:
mdarocha 2023-09-16 01:26:56 +02:00
parent 8cc6699fd4
commit 78dd0f1185

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation (attrs: { stdenv.mkDerivation (attrs: {
pname = "Nuget"; pname = "Nuget";
version = "6.3.1.1"; version = "6.6.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mono"; owner = "mono";
repo = "linux-packaging-nuget"; repo = "linux-packaging-nuget";
rev = "upstream/${attrs.version}.bin"; rev = "upstream/${attrs.version}.bin";
sha256 = "sha256-D7F4B23HK5ElY68PYKVDsyi8OF0DLqqUqQzj5CpMfkc="; sha256 = "sha256-9/dSeVshHbpYIgGE/8OzrB4towrWVB3UxDi8Esmbu7Y=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -16,6 +16,8 @@ stdenv.mkDerivation (attrs: {
]; ];
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/lib/${attrs.pname} mkdir -p $out/lib/${attrs.pname}
cp -r . $out/lib/${attrs.pname}/ cp -r . $out/lib/${attrs.pname}/
@ -24,6 +26,8 @@ stdenv.mkDerivation (attrs: {
"${mono}/bin/mono" \ "${mono}/bin/mono" \
"$out/bin/nuget" \ "$out/bin/nuget" \
--add-flags "$out/lib/${attrs.pname}/nuget.exe" --add-flags "$out/lib/${attrs.pname}/nuget.exe"
runHook postInstall
''; '';
meta = with lib; { meta = with lib; {