mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
luaPackages.rtoml: 0.4 -> 0.3
0.4 doesnt build and I dont want to investigate
This commit is contained in:
parent
199efdb1de
commit
f18e2b8926
@ -3069,23 +3069,30 @@ buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
toml = callPackage({ buildLuarocksPackage, cmake, fetchFromGitHub, fetchurl, luaOlder }:
|
toml = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }:
|
||||||
buildLuarocksPackage {
|
buildLuarocksPackage {
|
||||||
pname = "toml";
|
pname = "toml";
|
||||||
version = "0.4.0-0";
|
version = "0.3.0-0";
|
||||||
knownRockspec = (fetchurl {
|
knownRockspec = (fetchurl {
|
||||||
url = "mirror://luarocks/toml-0.4.0-0.rockspec";
|
url = "mirror://luarocks/toml-0.3.0-0.rockspec";
|
||||||
sha256 = "17yr5gj9yyax3wzn7cv3vvkjrg5qq4yfw8sc6v72ivg79fhvwnli";
|
sha256 = "0y4qdzsvf4xwnr49xcpbqclrq9d6snv83cbdkrchl0cn4cx6zpxy";
|
||||||
}).outPath;
|
}).outPath;
|
||||||
src = fetchFromGitHub {
|
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||||
owner = "LebJe";
|
"url": "https://github.com/LebJe/toml.lua.git",
|
||||||
repo = "toml.lua";
|
"rev": "319e9accf8c5cedf68795354ba81e54c817d1277",
|
||||||
rev = "0.4.0";
|
"date": "2023-02-19T23:00:49-05:00",
|
||||||
hash = "sha256-zVV49x2FW7UE1JoI88VzfYoQtkMFPiXrrAGOaNk4nok=";
|
"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";
|
disabled = (luaOlder "5.1");
|
||||||
nativeBuildInputs = [ cmake ];
|
propagatedBuildInputs = [ lua ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/LebJe/toml.lua";
|
homepage = "https://github.com/LebJe/toml.lua";
|
||||||
|
Loading…
Reference in New Issue
Block a user