2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure, fcgi }:
|
2015-05-26 06:58:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "fastcgi";
|
|
|
|
version = "0.6";
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "aa5789cc1e17521c01f349ee82ce2a00500e025b3f8494f89a7ebe165b5aabc7";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 06:58:18 +00:00
|
|
|
propagatedBuildInputs = [ pure fcgi ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 06:58:18 +00:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-fastcgi.html";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2015-05-26 06:58:18 +00:00
|
|
|
};
|
|
|
|
}
|