@@ -0,0 +1,37 @@
1+{ lib, stdenv, fetchurl, python
2+}:
3+
4+stdenv.mkDerivation rec {
5+ name = "pflask-${version}";
6+ version = "git-2015-10-06";
7+ rev = "1f575a73d796fbb92e8f2012ded7e97247f1c6c3";
8+
9+ src = fetchurl {
10+ url = "https://github.com/ghedo/pflask/archive/${rev}.tar.gz";
11+ sha256 = "3518aa1e8fa35e059bd63956daed9d8c4115475b66b674d02ebc80484248ddbc";
12+ };
13+
14+ buildInputs = [ python ];
15+
16+ configurePhase = ''
17+ ln -s ${fetchurl {
18+ url = "http://ftp.waf.io/pub/release/waf-1.8.6";
19+ sha256 = "81c4e6a3144c7b2021a839e7277bdaf1cedbbc87302186897b4ae03f4effcbf5";
20+ }} waf
21+ python waf configure --prefix=$out
22+ '';
23+ buildPhase = ''
24+ python waf build
25+ '';
26+ installPhase = ''
27+ python waf install
28+ '';
29+
30+ meta = {
31+ description = "Lightweight process containers for Linux";
32+ homepage = "https://ghedo.github.io/pflask/";
33+ license = lib.licenses.bsd2;
34+ platforms = lib.platforms.linux;
35+ maintainers = with lib.maintainers; [ ];
36+ };
37+}