2016-08-21 18:12:22 +02:00
|
|
|
{ stdenv, pkgconfig, fetchFromGitHub, python, glib, vala_0_28, ctpl
|
2015-10-29 16:57:54 +01:00
|
|
|
, libgee, libsoup, fcgi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "valum-${version}";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valum-framework";
|
|
|
|
repo = "valum";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1lciwqk4k9sf1hl4drl207g0ydlxl906kx9lx5fqhfb8gwcfqh2g";
|
|
|
|
};
|
|
|
|
|
2016-08-21 18:12:22 +02:00
|
|
|
buildInputs = [ python pkgconfig glib vala_0_28 ctpl libgee libsoup fcgi ];
|
2015-10-29 16:57:54 +01:00
|
|
|
|
|
|
|
configurePhase = ''python waf configure --prefix=$out'';
|
|
|
|
|
|
|
|
buildPhase = ''python waf build'';
|
|
|
|
|
|
|
|
installPhase = ''python waf install'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/valum-framework/valum;
|
|
|
|
description = "Web micro-framework written in Vala";
|
2016-08-02 16:41:28 +02:00
|
|
|
platforms = platforms.linux;
|
2015-10-29 16:57:54 +01:00
|
|
|
maintainers = [ maintainers.lethalman ];
|
|
|
|
};
|
|
|
|
}
|