Commit bcb6da4a authored by Anton Tetov's avatar Anton Tetov Committed by Matthieu Coudron
Browse files

luaPackages.http: 0.3.0->0.4.0

parent a50c6277
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ fzy,,,,,,mrcjkb
gitsigns.nvim,https://raw.githubusercontent.com/lewis6991/gitsigns.nvim/main/gitsigns.nvim-scm-1.rockspec,,,,5.1,
grug-far.nvim,,,,,,teto
haskell-tools.nvim,,,,,,mrcjkb
http,,,,0.3-0,,vcunat
http,,,,0.4-0,,vcunat
image.nvim,,,,,,teto
inspect,,,,,,
jsregexp,,,,,,
+5 −5
Original line number Diff line number Diff line
@@ -974,15 +974,15 @@ final: prev: {
    }:
    buildLuarocksPackage {
      pname = "http";
      version = "0.3-0";
      version = "0.4-0";
      knownRockspec =
        (fetchurl {
          url = "mirror://luarocks/http-0.3-0.rockspec";
          sha256 = "0fn3irkf5nnmfc83alc40b316hs8l7zdq2xlaiaa65sjd8acfvia";
          url = "mirror://luarocks/http-0.4-0.rockspec";
          sha256 = "0kbf7ybjyj6408sdrmh1jb0ig5klfc8mqcwz6gv6rd6ywn47qifq";
        }).outPath;
      src = fetchzip {
        url = "https://github.com/daurnimator/lua-http/archive/v0.3.zip";
        sha256 = "1pqxxxifl2j1cik3kgayx43v6py5jp6r22myhvxfffysb3b84a2l";
        url = "https://github.com/daurnimator/lua-http/archive/v0.4.zip";
        sha256 = "0252mc3mns1ni98hhcgnb3pmb53lk6nzr0jgqin0ggcavyxycqb2";
      };

      disabled = luaOlder "5.1";
+0 −7
Original line number Diff line number Diff line
@@ -237,13 +237,6 @@ in
  });

  http = prev.http.overrideAttrs (oa: {
    patches = [
      (fetchpatch {
        name = "invalid-state-progression.patch";
        url = "https://github.com/daurnimator/lua-http/commit/cb7b59474a.diff";
        sha256 = "1vmx039n3nqfx50faqhs3wgiw28ws416rhw6vh6srmh9i826dac7";
      })
    ];
    /*
      TODO: separate docs derivation? (pandoc is heavy)
      nativeBuildInputs = [ pandoc ];