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