nuget: 6.3.1.1 -> 6.6.1.2
This commit is contained in:
parent
8cc6699fd4
commit
78dd0f1185
1 changed files with 6 additions and 2 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue