diff options
author | Bob van der Linden <bobvanderlinden@gmail.com> | 2018-09-15 01:49:57 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-15 01:49:57 +0200 |
commit | fb11065050dd70075230b919ec4963c9b928f8a4 (patch) | |
tree | 2c3f2f74c3b53c7376d58a4395cd3040ac03893c /pkgs/top-level/dotnet-packages.nix | |
parent | f26b0c1eb202363aff72a5b459ca0a69ccc0699c (diff) | |
download | nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar.gz nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar.bz2 nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar.lz nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar.xz nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.tar.zst nixlib-fb11065050dd70075230b919ec4963c9b928f8a4.zip |
Newtonsoft.Json: 6.0.8 -> 11.0.2 (#46679)
Diffstat (limited to 'pkgs/top-level/dotnet-packages.nix')
-rw-r--r-- | pkgs/top-level/dotnet-packages.nix | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/pkgs/top-level/dotnet-packages.nix b/pkgs/top-level/dotnet-packages.nix index 3782fc33d6a6..3eeb3efdc503 100644 --- a/pkgs/top-level/dotnet-packages.nix +++ b/pkgs/top-level/dotnet-packages.nix @@ -871,40 +871,11 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; { }; }; - NewtonsoftJson = buildDotnetPackage rec { + NewtonsoftJson = fetchNuGet { baseName = "Newtonsoft.Json"; - version = "6.0.8"; - - src = fetchurl { - name = "${baseName}-${version}.tar.gz"; - url = "https://github.com/JamesNK/Newtonsoft.Json/archive/${version}.tar.gz"; - sha256 = "14znf5mycka578bxjnlnz6a3f9nfkc682hgmgg42gdzksnarvhlm"; - }; - - buildInputs = [ - fsharp - dotnetPackages.NUnit - dotnetPackages.SystemCollectionsImmutable - dotnetPackages.Autofac - ]; - - patches = [ ../development/dotnet-modules/patches/newtonsoft-json.references.patch ]; - - postConfigure = '' - # Just to make sure there's no attempt to call these executables - rm -rvf Tools - ''; - - xBuildFiles = [ "Src/Newtonsoft.Json.sln" ]; - outputFiles = [ "Src/Newtonsoft.Json/bin/Release/Net45/*" ]; - - meta = { - description = "Popular high-performance JSON framework for .NET"; - homepage = "https://www.newtonsoft.com/json"; - license = stdenv.lib.licenses.mit; - maintainers = with stdenv.lib.maintainers; [ obadz ]; - platforms = with stdenv.lib.platforms; linux; - }; + version = "11.0.2"; + sha256 = "07na27n4mlw77f3hg5jpayzxll7f4gyna6x7k9cybmxpbs6l77k7"; + outputFiles = [ "*" ]; }; Nuget = buildDotnetPackage { |