summaryrefslogtreecommitdiff
path: root/custom/luaPosix.nix
blob: d26026bd6758259f836a2ca3a0c125a78b8ea471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv
, pkgs
, fetchurl
}:

pkgs.lua51Packages.buildLuaPackage rec {
  name = "luaposix-${version}";
  version = "33.2.1";
  buildInputs = (with pkgs; [ perl ]);
  src = fetchurl {
    url = "https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz";
    sha256 = "1kxkn4hisx8454s4rid5p4xxq866x16f1hbzjzrd00qc9nkfvqa9";
  };
}