From 5365e3650da6127118bf26febd23dd71ca72d9e9 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 24 Jan 2020 17:47:09 +0100 Subject: [PATCH] luaPackages.digestif: scm1 -> 0.2-1 Now it's a released package so no need to specify the manifest anymore. --- maintainers/scripts/luarocks-packages.csv | 2 +- .../lua-modules/generated-packages.nix | 22 +++++-------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index 526a928438d2..49ebf3e5b422 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -11,7 +11,7 @@ compat53,,,,,vcunat coxpcall,,,1.17.0-1,, cqueues,,,,,vcunat cyrussasl,,,,,vcunat -digestif,,http://luarocks.org/dev,,lua5_3, +digestif,,,,lua5_3, dkjson,,,,, fifo,,,,, http,,,,,vcunat diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 4cff22a8d41c..2a70baf8d3ce 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -266,28 +266,18 @@ cyrussasl = buildLuarocksPackage { }; digestif = buildLuarocksPackage { pname = "digestif"; - version = "scm-1"; - - knownRockspec = (fetchurl { - url = http://luarocks.org/dev/digestif-scm-1.rockspec; - sha256 = "18rixbni4hmrmh3qj3vpjbsphzdvchswajphc9ysm52ccpyzh687"; - }).outPath; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "git://github.com/astoff/digestif", - "rev": "51c321f1b68b77f648fa6adf356de48925f69fe0", - "date": "2019-06-08T15:03:33+02:00", - "sha256": "1c9cl81vfzirc325wipdy992yn20b8xv8nqzl5mdhyz8zfp84hs7", - "fetchSubmodules": true -} - '') ["date"]) ; + version = "0.2-1"; + src = fetchurl { + url = mirror://luarocks/digestif-0.2-1.src.rock; + sha256 = "03blpj5lxlhmxa4hnj21sz7sc84g96igbc7r97yb2smmlbyq8hxd"; + }; disabled = (luaOlder "5.3"); propagatedBuildInputs = [ lua lpeg dkjson ]; meta = with stdenv.lib; { homepage = "https://github.com/astoff/digestif/"; - description = "Code analyzer for TeX."; + description = "A code analyzer for TeX"; license = { fullName = "MIT"; };