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