Created
April 24, 2022 13:40
-
-
Save corpix/3e3883399110eb5cb164ba7af229397b to your computer and use it in GitHub Desktop.
Luastatic nix derivation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lua, luaPackages, fetchurl, fetchgit }: | |
luaPackages.buildLuarocksPackage rec { | |
pname = "luastatic"; | |
version = "0.0.12"; | |
knownRockspec = (fetchurl { | |
url = "https://luarocks.org/manifests/ers35/luastatic-${version}-1.rockspec"; | |
sha256 = "sha256-jNxq4gyO+7kN7+Vpvq1iGFrIQ15x+HAkcqa3VqIhUVU="; | |
}).outPath; | |
src = fetchgit { | |
url = "https://github.com/ers35/luastatic"; | |
rev = version; | |
sha256 = "sha256-MluOLOGedZHPEXqqiTFeG6Uhv1DL/mKr1HUjzNqTOzs="; | |
}; | |
propagatebBuildInputs = [lua]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment