at 18.03-beta 25 lines 835 B view raw
1{ stdenv, fetchurl, pkgconfig, pure, fcgi }: 2 3stdenv.mkDerivation rec { 4 baseName = "fastcgi"; 5 version = "0.6"; 6 name = "pure-${baseName}-${version}"; 7 8 src = fetchurl { 9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 sha256 = "aa5789cc1e17521c01f349ee82ce2a00500e025b3f8494f89a7ebe165b5aabc7"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 propagatedBuildInputs = [ pure fcgi ]; 15 makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 setupHook = ../generic-setup-hook.sh; 17 18 meta = { 19 description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache"; 20 homepage = http://puredocs.bitbucket.org/pure-fastcgi.html; 21 license = stdenv.lib.licenses.bsd3; 22 platforms = stdenv.lib.platforms.linux; 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 }; 25}