diff options
author | Matthieu C. <886074+teto@users.noreply.github.com> | 2024-04-29 23:48:11 +0200 |
---|---|---|
committer | Matthieu C. <886074+teto@users.noreply.github.com> | 2024-05-01 00:19:58 +0200 |
commit | f18e2b892636cf9ebdbee5a3be657785770281a5 (patch) | |
tree | 7339f24e735c7d2c066e35dfd37a385217ea3996 /pkgs/development/lua-modules | |
parent | 199efdb1dead77efa41fbed267cdb1285f907000 (diff) |
luaPackages.rtoml: 0.4 -> 0.3
0.4 doesnt build and I dont want to investigate
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r-- | pkgs/development/lua-modules/generated-packages.nix | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 892ff85d8c39d..ecf31b7730691 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -3069,23 +3069,30 @@ buildLuarocksPackage { }; }) {}; -toml = callPackage({ buildLuarocksPackage, cmake, fetchFromGitHub, fetchurl, luaOlder }: +toml = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: buildLuarocksPackage { pname = "toml"; - version = "0.4.0-0"; + version = "0.3.0-0"; knownRockspec = (fetchurl { - url = "mirror://luarocks/toml-0.4.0-0.rockspec"; - sha256 = "17yr5gj9yyax3wzn7cv3vvkjrg5qq4yfw8sc6v72ivg79fhvwnli"; - }).outPath; - src = fetchFromGitHub { - owner = "LebJe"; - repo = "toml.lua"; - rev = "0.4.0"; - hash = "sha256-zVV49x2FW7UE1JoI88VzfYoQtkMFPiXrrAGOaNk4nok="; - }; + url = "mirror://luarocks/toml-0.3.0-0.rockspec"; + sha256 = "0y4qdzsvf4xwnr49xcpbqclrq9d6snv83cbdkrchl0cn4cx6zpxy"; + }).outPath; + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ + "url": "https://github.com/LebJe/toml.lua.git", + "rev": "319e9accf8c5cedf68795354ba81e54c817d1277", + "date": "2023-02-19T23:00:49-05:00", + "path": "/nix/store/p6a98sqp9a4jwsw6ghqcwpn9lxmhvkdg-toml.lua", + "sha256": "05p33bq0ajl41vbsw9bx73shpf0p11n5gb6yy8asvp93zh2m51hq", + "hash": "sha256-GIZSBfwj3a0V8t6sV2wIF7gL9Th9Ja7XDoRKBfAa4xY=", + "fetchLFS": false, + "fetchSubmodules": true, + "deepClone": false, + "leaveDotGit": false +} + '') ["date" "path" "sha256"]) ; - disabled = luaOlder "5.1"; - nativeBuildInputs = [ cmake ]; + disabled = (luaOlder "5.1"); + propagatedBuildInputs = [ lua ]; meta = { homepage = "https://github.com/LebJe/toml.lua"; |