2016-08-21 17:12:22 +01:00
|
|
|
{ stdenv, pkgconfig, fetchFromGitHub, python, glib, vala_0_28, ctpl
|
2015-10-29 15:57:54 +00:00
|
|
|
, libgee, libsoup, fcgi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "valum-${version}";
|
2016-08-24 19:18:46 +01:00
|
|
|
version = "0.2.16";
|
2015-10-29 15:57:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valum-framework";
|
|
|
|
repo = "valum";
|
|
|
|
rev = "v${version}";
|
2016-08-24 19:18:46 +01:00
|
|
|
sha256 = "0ca067gg5z1798bazwzgg2yd2mbysvk8i2q2v3i8d0d188y2hj84";
|
2015-10-29 15:57:54 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ python glib vala_0_28 ctpl libgee libsoup fcgi ];
|
2015-10-29 15:57:54 +00: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 15:41:28 +01:00
|
|
|
platforms = platforms.linux;
|
2015-10-29 15:57:54 +00:00
|
|
|
maintainers = [ maintainers.lethalman ];
|
|
|
|
};
|
|
|
|
}
|